summaryrefslogtreecommitdiff
path: root/accel-pppd/libnetlink/iputils.h
diff options
context:
space:
mode:
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);