diff options
author | Patrick McHardy <kaber@trash.net> | 2008-07-06 00:25:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 00:25:56 -0400 |
commit | 7c85fbf0657f216557b0c9c4a2e4e07f37d8bb8c (patch) | |
tree | 08660067a7f60fdf4e8343ec9481ce6da22ac6d8 /net/bridge/br_private.h | |
parent | a19800d704177caaa5874baf5819307c5b7d5e4f (diff) |
bridge: Use STP demux
Use the STP demux layer for receiving STP PDUs instead of directly
registering with LLC.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 8593c9f6a302..815ed38925b2 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -226,8 +226,9 @@ extern void br_stp_set_path_cost(struct net_bridge_port *p, | |||
226 | extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id); | 226 | extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id); |
227 | 227 | ||
228 | /* br_stp_bpdu.c */ | 228 | /* br_stp_bpdu.c */ |
229 | extern int br_stp_rcv(struct sk_buff *skb, struct net_device *dev, | 229 | struct stp_proto; |
230 | struct packet_type *pt, struct net_device *orig_dev); | 230 | extern void br_stp_rcv(const struct stp_proto *proto, struct sk_buff *skb, |
231 | struct net_device *dev); | ||
231 | 232 | ||
232 | /* br_stp_timer.c */ | 233 | /* br_stp_timer.c */ |
233 | extern void br_stp_timer_init(struct net_bridge *br); | 234 | extern void br_stp_timer_init(struct net_bridge *br); |