bridge-vlan: add support for defining aliases for vlan ids
[project/netifd.git] / device.h
index 243fdadd8ac5483f0cd5c4715b2824bfacd57921..b2b18ab0cfa63c4069c4b495d33a29f5169e8bfb 100644 (file)
--- a/device.h
+++ b/device.h
@@ -16,6 +16,7 @@
 
 #include <libubox/avl.h>
 #include <libubox/safe_list.h>
+#include <libubox/kvlist.h>
 #include <netinet/in.h>
 
 struct device;
@@ -186,6 +187,7 @@ struct device {
        struct safe_list aliases;
 
        struct vlist_tree vlans;
+       struct kvlist vlan_aliases;
 
        char ifname[IFNAMSIZ + 1];
        int ifindex;