summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/iputils.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-12 00:23:16 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-12 00:23:16 +0300
commitd49a25b9f48ef5c65fe91a79e62c2f677169eac7 (patch)
tree659e1bd47ea9d1bc24bb8d31708c655ab85f5378 /accel-pppd/libnetlink/iputils.h
parentf285b9e7bd4c8d1eada3ca315618bbd8f9401e4b (diff)
downloadaccel-ppp-d49a25b9f48ef5c65fe91a79e62c2f677169eac7.tar.gz
accel-ppp-d49a25b9f48ef5c65fe91a79e62c2f677169eac7.zip
ipv6: remove ipv6 address and routes on session termination
Diffstat (limited to 'accel-pppd/libnetlink/iputils.h')
-rw-r--r--accel-pppd/libnetlink/iputils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/iputils.h b/accel-pppd/libnetlink/iputils.h
index d5f9701d..dad06870 100644
--- a/accel-pppd/libnetlink/iputils.h
+++ b/accel-pppd/libnetlink/iputils.h
@@ -20,7 +20,9 @@ int iproute_del(int ifindex, in_addr_t dst, int proto, int mask);
in_addr_t iproute_get(in_addr_t dst, in_addr_t *gw);
int ip6route_add(int ifindex, struct in6_addr *dst, int prefix_len, int proto);
+int ip6route_del(int ifindex, struct in6_addr *dst, int prefix_len);
int ip6addr_add(int ifindex, struct in6_addr *addr, int prefix_len);
+int ip6addr_del(int ifindex, struct in6_addr *addr, int prefix_len);
int iprule_add(uint32_t addr, int table);
int iprule_del(uint32_t addr, int table);