From 82bcb641602579f339e9addafe5f1869134a0cd1 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Sun, 12 Jul 2020 18:50:19 +0200 Subject: 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 Signed-off-by: Felix Fietkau --- system.h | 1 + 1 file changed, 1 insertion(+) (limited to 'system.h') diff --git a/system.h b/system.h index 258b1af..015987f 100644 --- a/system.h +++ b/system.h @@ -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); -- cgit v1.2.1