diff options
Diffstat (limited to 'include/net/netns/ipv4.h')
-rw-r--r-- | include/net/netns/ipv4.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 227f0cd9d3f..599e48fa97c 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h | |||
@@ -11,6 +11,7 @@ struct ctl_table_header; | |||
11 | struct ipv4_devconf; | 11 | struct ipv4_devconf; |
12 | struct fib_rules_ops; | 12 | struct fib_rules_ops; |
13 | struct hlist_head; | 13 | struct hlist_head; |
14 | struct fib_table; | ||
14 | struct sock; | 15 | struct sock; |
15 | 16 | ||
16 | struct netns_ipv4 { | 17 | struct netns_ipv4 { |
@@ -24,6 +25,13 @@ struct netns_ipv4 { | |||
24 | struct ipv4_devconf *devconf_dflt; | 25 | struct ipv4_devconf *devconf_dflt; |
25 | #ifdef CONFIG_IP_MULTIPLE_TABLES | 26 | #ifdef CONFIG_IP_MULTIPLE_TABLES |
26 | struct fib_rules_ops *rules_ops; | 27 | struct fib_rules_ops *rules_ops; |
28 | bool fib_has_custom_rules; | ||
29 | struct fib_table *fib_local; | ||
30 | struct fib_table *fib_main; | ||
31 | struct fib_table *fib_default; | ||
32 | #endif | ||
33 | #ifdef CONFIG_IP_ROUTE_CLASSID | ||
34 | int fib_num_tclassid_users; | ||
27 | #endif | 35 | #endif |
28 | struct hlist_head *fib_table_hash; | 36 | struct hlist_head *fib_table_hash; |
29 | struct sock *fibnl; | 37 | struct sock *fibnl; |