diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2014-12-01 16:24:11 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2014-12-01 16:39:35 +0300 |
| commit | 3cc7fd0165e096be25761710b66b44fda9d09190 (patch) | |
| tree | b6eef91b863c78858be060902a515b26a7b2bf4b /accel-pppd/libnetlink/iputils.h | |
| parent | ebc0ec740280efd2ea7f22abbb84eda53ab06632 (diff) | |
| download | accel-ppp-3cc7fd0165e096be25761710b66b44fda9d09190.tar.gz accel-ppp-3cc7fd0165e096be25761710b66b44fda9d09190.zip | |
ipv6: if assigned prefix is <= 64 add it as address else add it as route
Diffstat (limited to 'accel-pppd/libnetlink/iputils.h')
| -rw-r--r-- | accel-pppd/libnetlink/iputils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/iputils.h b/accel-pppd/libnetlink/iputils.h index b9a6488..6097627 100644 --- a/accel-pppd/libnetlink/iputils.h +++ b/accel-pppd/libnetlink/iputils.h @@ -19,6 +19,7 @@ int iproute_del(int ifindex, in_addr_t dst, int proto); 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 ip6addr_add(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); |
