summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/iputils.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-10-27 10:48:25 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-10-27 10:48:30 +0300
commit421dac7884ab3b7253ba942aa05983e47289a1a5 (patch)
treed8229bbd3211e0e0d1644e026dff8ad0db288367 /accel-pppd/libnetlink/iputils.h
parent1819d99a0469b1c3fe7d1e9b6fbd593d86f5052f (diff)
downloadaccel-ppp-421dac7884ab3b7253ba942aa05983e47289a1a5.tar.gz
accel-ppp-421dac7884ab3b7253ba942aa05983e47289a1a5.zip
ipoe: implemented handling relayed DHCP clients
Diffstat (limited to 'accel-pppd/libnetlink/iputils.h')
-rw-r--r--accel-pppd/libnetlink/iputils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/libnetlink/iputils.h b/accel-pppd/libnetlink/iputils.h
index 0c88793..b9a6488 100644
--- a/accel-pppd/libnetlink/iputils.h
+++ b/accel-pppd/libnetlink/iputils.h
@@ -14,9 +14,9 @@ int iplink_vlan_del(int ifindex);
int ipaddr_add(int ifindex, in_addr_t addr, int mask);
int ipaddr_del(int ifindex, in_addr_t addr, int mask);
-int iproute_add(int ifindex, in_addr_t src, in_addr_t dst, int proto);
+int iproute_add(int ifindex, in_addr_t src, in_addr_t dst, in_addr_t gw, int proto);
int iproute_del(int ifindex, in_addr_t dst, int proto);
-in_addr_t iproute_get(in_addr_t dst);
+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);