summaryrefslogtreecommitdiff
path: root/system.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-07-23 11:04:45 +0200
committerFelix Fietkau <nbd@nbd.name>2021-07-23 11:04:47 +0200
commit85f01c44a950be8518ce5a7d251b5bba219348cf (patch)
tree5b415838ce2606394aee5a37e61728a8290117ff /system.h
parent7f24a063475e1e2be4e0c516a5b62c3fae5ec542 (diff)
downloadnetifd-85f01c44a950be8518ce5a7d251b5bba219348cf.tar.gz
bridge: check bridge port vlan membership on link-up events
When changing to a dfs channel, hostapd can bring down wlan interfaces and reset their bridge membership. If that happens, the port loses its vlan membership settings and needs to be reconfigured by netifd. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'system.h')
-rw-r--r--system.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system.h b/system.h
index 52161a8..d373b66 100644
--- a/system.h
+++ b/system.h
@@ -207,6 +207,7 @@ 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_bridge_vlan_check(struct device *dev, char *ifname);
int system_macvlan_add(struct device *macvlan, struct device *dev, struct macvlan_config *cfg);
int system_macvlan_del(struct device *macvlan);