diff options
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 8f10e09f251b..86ecea7ed372 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -109,6 +109,7 @@ struct net_bridge | |||
109 | unsigned long bridge_hello_time; | 109 | unsigned long bridge_hello_time; |
110 | unsigned long bridge_forward_delay; | 110 | unsigned long bridge_forward_delay; |
111 | 111 | ||
112 | u8 group_addr[ETH_ALEN]; | ||
112 | u16 root_port; | 113 | u16 root_port; |
113 | unsigned char stp_enabled; | 114 | unsigned char stp_enabled; |
114 | unsigned char topology_change; | 115 | unsigned char topology_change; |
@@ -122,7 +123,7 @@ struct net_bridge | |||
122 | }; | 123 | }; |
123 | 124 | ||
124 | extern struct notifier_block br_device_notifier; | 125 | extern struct notifier_block br_device_notifier; |
125 | extern const unsigned char bridge_ula[6]; | 126 | extern const u8 br_group_address[ETH_ALEN]; |
126 | 127 | ||
127 | /* called under bridge lock */ | 128 | /* called under bridge lock */ |
128 | static inline int br_is_root_bridge(const struct net_bridge *br) | 129 | static inline int br_is_root_bridge(const struct net_bridge *br) |
@@ -217,7 +218,8 @@ extern void br_stp_set_path_cost(struct net_bridge_port *p, | |||
217 | extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id); | 218 | extern ssize_t br_show_bridge_id(char *buf, const struct bridge_id *id); |
218 | 219 | ||
219 | /* br_stp_bpdu.c */ | 220 | /* br_stp_bpdu.c */ |
220 | extern int br_stp_handle_bpdu(struct sk_buff *skb); | 221 | extern int br_stp_rcv(struct sk_buff *skb, struct net_device *dev, |
222 | struct packet_type *pt, struct net_device *orig_dev); | ||
221 | 223 | ||
222 | /* br_stp_timer.c */ | 224 | /* br_stp_timer.c */ |
223 | extern void br_stp_timer_init(struct net_bridge *br); | 225 | extern void br_stp_timer_init(struct net_bridge *br); |