diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-06 14:53:03 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-09-06 14:53:03 +0200 |
commit | 8e0e105eed7fb3227e6e2f189d83a5943fd043b6 (patch) | |
tree | 64c5b870a35d029b91d48428d4683bf0daa6a0ba /pingu_netlink.h | |
parent | 852fd592b073281162627ef4570d75d96e1263fb (diff) | |
download | pingu-8e0e105eed7fb3227e6e2f189d83a5943fd043b6.tar.bz2 pingu-8e0e105eed7fb3227e6e2f189d83a5943fd043b6.tar.xz |
pingu: cleanup on exit
We remove the ip rule, close the ping sockets and netlink sockets.
Diffstat (limited to 'pingu_netlink.h')
-rw-r--r-- | pingu_netlink.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |