diff options
author | John Crispin <john@phrozen.org> | 2020-07-12 18:50:19 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-07-18 20:31:16 +0200 |
commit | 82bcb641602579f339e9addafe5f1869134a0cd1 (patch) | |
tree | 6efe05a53645152e7d796d0ea2d132ce4b3ca2bb /system.h | |
parent | ccd9ddc10219ae90784411c7774a0d56dbced59b (diff) |
bridge: add support for adding vlans to a bridge
Add a rtnl helper for adding vlans to a bridge interface.
Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -196,6 +196,7 @@ int system_bridge_addbr(struct device *bridge, struct bridge_config *cfg); int system_bridge_delbr(struct device *bridge); int system_bridge_addif(struct device *bridge, struct device *dev); int system_bridge_delif(struct device *bridge, struct device *dev); +int system_bridge_vlan(const char *iface, uint16_t vid, bool add, unsigned int vflags); int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg); int system_macvlan_del(struct device *macvlan); |