DEV_ATTR_AUTH,
DEV_ATTR_SPEED,
DEV_ATTR_DUPLEX,
+ DEV_ATTR_VLAN,
__DEV_ATTR_MAX,
};
bool duplex;
};
+struct device_vlan_range {
+ uint16_t start, end;
+};
+
/*
* link layer device. typically represents a linux network device.
* can be used to support VLANs as well
bool bpdu_filter;
struct interface *config_iface;
+ struct device_vlan_range *extra_vlan;
+ int n_extra_vlan;
/* set interface up or down */
device_state_cb set_state;