bridge: add support for adding vlans to a bridge
[project/netifd.git] / device.h
index 5f3fae29355bff33ebc82c7b37dfd1054531b7a3..4fb15a3f4b17c5b124ce5eee650a0145771197a4 100644 (file)
--- a/device.h
+++ b/device.h
@@ -228,6 +228,12 @@ struct device_hotplug_ops {
        int (*del)(struct device *main, struct device *member);
 };
 
+enum bridge_vlan_flags {
+       BRVLAN_F_SELF =         (1 << 0),
+       BRVLAN_F_PVID =         (1 << 1),
+       BRVLAN_F_UNTAGGED =     (1 << 2),
+};
+
 extern const struct uci_blob_param_list device_attr_list;
 extern struct device_type simple_device_type;
 extern struct device_type tunnel_device_type;