bridge: add support for configuring extra tagged vlans on member devices
[project/netifd.git] / device.h
index 6751628b9b330269f0af06a3678353e8192c3529..c3e38ac77d2d8e8093a721149138901b4bbe6f96 100644 (file)
--- a/device.h
+++ b/device.h
@@ -62,6 +62,7 @@ enum {
        DEV_ATTR_AUTH,
        DEV_ATTR_SPEED,
        DEV_ATTR_DUPLEX,
+       DEV_ATTR_VLAN,
        __DEV_ATTR_MAX,
 };
 
@@ -248,6 +249,10 @@ struct device {
        bool bpdu_filter;
 
        struct interface *config_iface;
+       struct {
+               uint16_t start, end;
+       } *extra_vlan;
+       int n_extra_vlan;
 
        /* set interface up or down */
        device_state_cb set_state;