From c77ca8a35327da9957a0d69c814de396bc452237 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 8 Dec 2011 17:00:43 +0100 Subject: pingu_netlink: keep track of the route via interface This is so we later can copy more routes to alternate rotue table if needed. --- pingu_netlink.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pingu_netlink.h') diff --git a/pingu_netlink.h b/pingu_netlink.h index d65de1f..9d99a17 100644 --- a/pingu_netlink.h +++ b/pingu_netlink.h @@ -6,8 +6,11 @@ int kernel_init(struct ev_loop *loop); int kernel_route_modify(int action, struct pingu_route *route, - struct pingu_iface *iface, int table); -int kernel_route_multipath(int action, struct list_head *iface_list, int table); + int table); +void route_changed_for_iface(struct pingu_iface *iface, + struct pingu_route *route, int action); +int kernel_route_multipath(int action, struct list_head *iface_list, + int table); void kernel_cleanup_iface_routes(struct pingu_iface *iface); void kernel_close(void); -- cgit v1.2.3