aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2006-03-21 01:59:06 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-21 01:59:06 -0500
commitcf0f02d04a830c8202e6a8f8bb37acc6c1629a91 (patch)
tree8f3c7af9aee5ea2e1b889c27660e8587307025df /net/bridge/br_private.h
parent18fdb2b25be37e49b1669b5c394671f8c5b6550f (diff)
[BRIDGE]: use llc for receiving STP packets
Use LLC for the receive path of Spanning Tree Protocol packets. This allows link local multicast packets to be received by other protocols (if they care), and uses the existing LLC code to get STP packets back into bridge code. The bridge multicast address is also checked, so bridges using other link local multicast addresses are ignored. This allows for use of different multicast addresses to define separate STP domains. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 8f10e09f251b..3bc9ad483473 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -217,7 +217,8 @@ extern void br_stp_set_path_cost(struct net_bridge_port *p,
217extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id); 217extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id);
218 218
219/* br_stp_bpdu.c */ 219/* br_stp_bpdu.c */
220extern int br_stp_handle_bpdu(struct sk_buff *skb); 220extern int br_stp_rcv(struct sk_buff *skb, struct net_device *dev,
221 struct packet_type *pt, struct net_device *orig_dev);
221 222
222/* br_stp_timer.c */ 223/* br_stp_timer.c */
223extern void br_stp_timer_init(struct net_bridge *br); 224extern void br_stp_timer_init(struct net_bridge *br);