diff options
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 63181e4a2a67..45d11e49fbbb 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -45,6 +45,14 @@ struct mac_addr | |||
45 | unsigned char addr[6]; | 45 | unsigned char addr[6]; |
46 | }; | 46 | }; |
47 | 47 | ||
48 | struct br_ip | ||
49 | { | ||
50 | union { | ||
51 | __be32 ip4; | ||
52 | } u; | ||
53 | __be16 proto; | ||
54 | }; | ||
55 | |||
48 | struct net_bridge_fdb_entry | 56 | struct net_bridge_fdb_entry |
49 | { | 57 | { |
50 | struct hlist_node hlist; | 58 | struct hlist_node hlist; |
@@ -64,7 +72,7 @@ struct net_bridge_port_group { | |||
64 | struct rcu_head rcu; | 72 | struct rcu_head rcu; |
65 | struct timer_list timer; | 73 | struct timer_list timer; |
66 | struct timer_list query_timer; | 74 | struct timer_list query_timer; |
67 | __be32 addr; | 75 | struct br_ip addr; |
68 | u32 queries_sent; | 76 | u32 queries_sent; |
69 | }; | 77 | }; |
70 | 78 | ||
@@ -77,7 +85,7 @@ struct net_bridge_mdb_entry | |||
77 | struct rcu_head rcu; | 85 | struct rcu_head rcu; |
78 | struct timer_list timer; | 86 | struct timer_list timer; |
79 | struct timer_list query_timer; | 87 | struct timer_list query_timer; |
80 | __be32 addr; | 88 | struct br_ip addr; |
81 | u32 queries_sent; | 89 | u32 queries_sent; |
82 | }; | 90 | }; |
83 | 91 | ||