diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip6_fib.h | 9 | ||||
-rw-r--r-- | include/net/netns/ipv6.h | 5 |
2 files changed, 10 insertions, 4 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 953d6040ff50..4d4c8aca8fb9 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -181,10 +181,11 @@ typedef struct rt6_info *(*pol_lookup_t)(struct fib6_table *, | |||
181 | * exported functions | 181 | * exported functions |
182 | */ | 182 | */ |
183 | 183 | ||
184 | extern struct fib6_table * fib6_get_table(u32 id); | 184 | extern struct fib6_table *fib6_get_table(struct net *net, u32 id); |
185 | extern struct fib6_table * fib6_new_table(u32 id); | 185 | extern struct fib6_table *fib6_new_table(struct net *net, u32 id); |
186 | extern struct dst_entry * fib6_rule_lookup(struct flowi *fl, int flags, | 186 | extern struct dst_entry *fib6_rule_lookup(struct net *net, |
187 | pol_lookup_t lookup); | 187 | struct flowi *fl, int flags, |
188 | pol_lookup_t lookup); | ||
188 | 189 | ||
189 | extern struct fib6_node *fib6_lookup(struct fib6_node *root, | 190 | extern struct fib6_node *fib6_lookup(struct fib6_node *root, |
190 | struct in6_addr *daddr, | 191 | struct in6_addr *daddr, |
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 82623d3a8e35..b0653261c5a3 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h | |||
@@ -36,6 +36,11 @@ struct netns_ipv6 { | |||
36 | struct xt_table *ip6table_mangle; | 36 | struct xt_table *ip6table_mangle; |
37 | struct xt_table *ip6table_raw; | 37 | struct xt_table *ip6table_raw; |
38 | #endif | 38 | #endif |
39 | struct hlist_head *fib_table_hash; | ||
40 | struct fib6_table *fib6_main_tbl; | ||
41 | #ifdef CONFIG_IPV6_MULTIPLE_TABLES | ||
42 | struct fib6_table *fib6_local_tbl; | ||
43 | #endif | ||
39 | struct sock **icmp_sk; | 44 | struct sock **icmp_sk; |
40 | }; | 45 | }; |
41 | #endif | 46 | #endif |