aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2011-04-04 10:03:30 -0400
committerDavid S. Miller <davem@davemloft.net>2011-04-04 20:22:27 -0400
commitb078f0df676233fc7ebc1ab270bd11ef5824bb64 (patch)
tree14eb5b201cfd451cf5c9df173ffb84be7cf62857 /net/bridge/br_private.h
parent664de48bb6c4e167fcdf92a4bddf880030fbfbb3 (diff)
bridge: add netlink notification on forward entry changes
This allows applications to query and monitor bridge forwarding table in the same method used for neighbor table. The forward table entries are returned in same structure format as used by the ioctl. If more information is desired in future, the netlink method is extensible. Example (using bridge extensions to iproute2) # br monitor Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index a0e6b94c515b..884d245a205a 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -354,6 +354,7 @@ extern int br_fdb_insert(struct net_bridge *br,
354extern void br_fdb_update(struct net_bridge *br, 354extern void br_fdb_update(struct net_bridge *br,
355 struct net_bridge_port *source, 355 struct net_bridge_port *source,
356 const unsigned char *addr); 356 const unsigned char *addr);
357extern int br_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb);
357 358
358/* br_forward.c */ 359/* br_forward.c */
359extern void br_deliver(const struct net_bridge_port *to, 360extern void br_deliver(const struct net_bridge_port *to,