summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/iputils.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-08-31 23:05:29 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-08-31 23:05:29 +0400
commit4990a892f474fba052bd884aa8f4c072e6a42c5e (patch)
treeac96d8d0afffab027321b9483aedc388bcf83d7c /accel-pppd/libnetlink/iputils.h
parent50244b414c64064bbfd91531d6cc694a96e241af (diff)
downloadaccel-ppp-4990a892f474fba052bd884aa8f4c072e6a42c5e.tar.gz
accel-ppp-4990a892f474fba052bd884aa8f4c072e6a42c5e.zip
ipoe: fixed race during receiving relay reply
Diffstat (limited to 'accel-pppd/libnetlink/iputils.h')
-rw-r--r--accel-pppd/libnetlink/iputils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/libnetlink/iputils.h b/accel-pppd/libnetlink/iputils.h
index 5baf7426..2657a5c9 100644
--- a/accel-pppd/libnetlink/iputils.h
+++ b/accel-pppd/libnetlink/iputils.h
@@ -8,6 +8,9 @@ typedef int (*iplink_list_func)(int index, int flags, const char *name, void *ar
int iplink_list(iplink_list_func func, void *arg);
int iplink_get_stats(int ifindex, struct rtnl_link_stats *stats);
+int iplink_vlan_add(const char *ifname, int ifindex, int vid);
+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);