diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-08 17:00:43 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-08 17:00:43 +0100 |
commit | c77ca8a35327da9957a0d69c814de396bc452237 (patch) | |
tree | 8fd7eb6abedbae169d430d775883f7fc1c76e994 /pingu_netlink.h | |
parent | ffb01b018c747560efb8e691c3041751614bfe5e (diff) | |
download | pingu-c77ca8a35327da9957a0d69c814de396bc452237.tar.bz2 pingu-c77ca8a35327da9957a0d69c814de396bc452237.tar.xz |
pingu_netlink: keep track of the route via interface
This is so we later can copy more routes to alternate rotue table if
needed.
Diffstat (limited to 'pingu_netlink.h')
-rw-r--r-- | pingu_netlink.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |