diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-04-09 19:57:54 (GMT) |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 05:28:47 (GMT) |
commit | 9cf637473c8535b5abe27fee79254c2d552e042a (patch) | |
tree | 98d73249a2a75eaa23bbbc6c235eca0182f52a3d /net/bridge/br_private.h | |
parent | 3f890923182aeebc572f3818dd51c9014827e0ec (diff) | |
download | linux-fsl-qoriq-9cf637473c8535b5abe27fee79254c2d552e042a.tar.xz |
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 fab8ce0..3adacdf 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); /* br_fdb.c */ extern void br_fdb_init(void); extern void br_fdb_fini(void); +extern void br_fdb_flush(struct net_bridge *br); extern void br_fdb_changeaddr(struct net_bridge_port *p, const unsigned char *newaddr); extern void br_fdb_cleanup(unsigned long arg); |