From 8e0e105eed7fb3227e6e2f189d83a5943fd043b6 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 6 Sep 2011 14:53:03 +0200 Subject: pingu: cleanup on exit We remove the ip rule, close the ping sockets and netlink sockets. --- pingu_netlink.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pingu_netlink.h') diff --git a/pingu_netlink.h b/pingu_netlink.h index bb9907f..3298964 100644 --- a/pingu_netlink.h +++ b/pingu_netlink.h @@ -8,5 +8,7 @@ int kernel_init(struct ev_loop *loop); int kernel_route_modify(int action, struct pingu_gateway *route, struct pingu_iface *iface, int table); int kernel_route_multipath(int action, struct list_head *iface_list, int table); +void kernel_cleanup_iface(struct pingu_iface *iface); +void kernel_close(void); #endif -- cgit v1.2.3