diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-09 15:57:54 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:28:47 -0400 |
commit | 9cf637473c8535b5abe27fee79254c2d552e042a (patch) | |
tree | 98d73249a2a75eaa23bbbc6c235eca0182f52a3d /net/bridge/br_private.h | |
parent | 3f890923182aeebc572f3818dd51c9014827e0ec (diff) |
bridge: add sysfs hook to flush forwarding table
The RSTP daemon needs to be able to flush all dynamic forwarding
entries in the case of topology change.
This is a temporary interface. It will change to a netlink interface
before RSTP daemon is officially released.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index fab8ce0ce88d..3adacdf3406f 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -135,6 +135,7 @@ extern int br_dev_xmit(struct sk_buff *skb, struct net_device *dev); | |||
135 | /* br_fdb.c */ | 135 | /* br_fdb.c */ |
136 | extern void br_fdb_init(void); | 136 | extern void br_fdb_init(void); |
137 | extern void br_fdb_fini(void); | 137 | extern void br_fdb_fini(void); |
138 | extern void br_fdb_flush(struct net_bridge *br); | ||
138 | extern void br_fdb_changeaddr(struct net_bridge_port *p, | 139 | extern void br_fdb_changeaddr(struct net_bridge_port *p, |
139 | const unsigned char *newaddr); | 140 | const unsigned char *newaddr); |
140 | extern void br_fdb_cleanup(unsigned long arg); | 141 | extern void br_fdb_cleanup(unsigned long arg); |