aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/if_inet6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/if_inet6.h')
-rw-r--r--include/net/if_inet6.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/net/if_inet6.h b/include/net/if_inet6.h
index 545d8b059bef..13f9fc086d54 100644
--- a/include/net/if_inet6.h
+++ b/include/net/if_inet6.h
@@ -54,16 +54,17 @@ struct inet6_ifaddr {
54 struct inet6_dev *idev; 54 struct inet6_dev *idev;
55 struct rt6_info *rt; 55 struct rt6_info *rt;
56 56
57 struct inet6_ifaddr *lst_next; /* next addr in addr_lst */ 57 struct hlist_node addr_lst;
58 struct inet6_ifaddr *if_next; /* next addr in inet6_dev */ 58 struct list_head if_list;
59 59
60#ifdef CONFIG_IPV6_PRIVACY 60#ifdef CONFIG_IPV6_PRIVACY
61 struct inet6_ifaddr *tmp_next; /* next addr in tempaddr_lst */ 61 struct list_head tmp_list;
62 struct inet6_ifaddr *ifpub; 62 struct inet6_ifaddr *ifpub;
63 int regen_count; 63 int regen_count;
64#endif 64#endif
65 65
66 int dead; 66 int dead;
67 struct rcu_head rcu;
67}; 68};
68 69
69struct ip6_sf_socklist { 70struct ip6_sf_socklist {
@@ -151,9 +152,9 @@ struct ipv6_devstat {
151}; 152};
152 153
153struct inet6_dev { 154struct inet6_dev {
154 struct net_device *dev; 155 struct net_device *dev;
155 156
156 struct inet6_ifaddr *addr_list; 157 struct list_head addr_list;
157 158
158 struct ifmcaddr6 *mc_list; 159 struct ifmcaddr6 *mc_list;
159 struct ifmcaddr6 *mc_tomb; 160 struct ifmcaddr6 *mc_tomb;
@@ -175,7 +176,7 @@ struct inet6_dev {
175#ifdef CONFIG_IPV6_PRIVACY 176#ifdef CONFIG_IPV6_PRIVACY
176 u8 rndid[8]; 177 u8 rndid[8];
177 struct timer_list regen_timer; 178 struct timer_list regen_timer;
178 struct inet6_ifaddr *tempaddr_list; 179 struct list_head tempaddr_list;
179#endif 180#endif
180 181
181 struct neigh_parms *nd_parms; 182 struct neigh_parms *nd_parms;