diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2016-12-10 13:44:28 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-10 21:27:23 -0500 |
commit | 8384b5f5b293389a42cc65bfca2d767d15809aa1 (patch) | |
tree | ccb3b54b6b7865239a750e1573b83ef76774728a /net/bridge/br_private_stp.h | |
parent | 82dd4332aa07843f7444c55bc17fee9bd76aa0f7 (diff) | |
download | linux-stable-8384b5f5b293389a42cc65bfca2d767d15809aa1.tar.gz linux-stable-8384b5f5b293389a42cc65bfca2d767d15809aa1.tar.bz2 linux-stable-8384b5f5b293389a42cc65bfca2d767d15809aa1.zip |
net: bridge: add helper to set topology change
Add a __br_set_topology_change helper to set the topology change value.
This can be later extended to add actions when the topology change flag
is set or cleared.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private_stp.h')
-rw-r--r-- | net/bridge/br_private_stp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private_stp.h b/net/bridge/br_private_stp.h index 2fe910c4e170..3f7543a29b76 100644 --- a/net/bridge/br_private_stp.h +++ b/net/bridge/br_private_stp.h @@ -61,6 +61,7 @@ void br_received_tcn_bpdu(struct net_bridge_port *p); void br_transmit_config(struct net_bridge_port *p); void br_transmit_tcn(struct net_bridge *br); void br_topology_change_detection(struct net_bridge *br); +void __br_set_topology_change(struct net_bridge *br, unsigned char val); /* br_stp_bpdu.c */ void br_send_config_bpdu(struct net_bridge_port *, struct br_config_bpdu *); |