diff options
Diffstat (limited to 'include/net/netns/ipv4.h')
| -rw-r--r-- | include/net/netns/ipv4.h | 14 | 
1 files changed, 12 insertions, 2 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index bbd023a1c9b..0ffb8e31f3c 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -7,10 +7,12 @@  #include <net/inet_frag.h> +struct tcpm_hash_bucket;  struct ctl_table_header;  struct ipv4_devconf;  struct fib_rules_ops;  struct hlist_head; +struct fib_table;  struct sock;  struct netns_ipv4 { @@ -24,13 +26,21 @@ struct netns_ipv4 {  	struct ipv4_devconf	*devconf_dflt;  #ifdef CONFIG_IP_MULTIPLE_TABLES  	struct fib_rules_ops	*rules_ops; +	bool			fib_has_custom_rules; +	struct fib_table	*fib_local; +	struct fib_table	*fib_main; +	struct fib_table	*fib_default; +#endif +#ifdef CONFIG_IP_ROUTE_CLASSID +	int			fib_num_tclassid_users;  #endif  	struct hlist_head	*fib_table_hash;  	struct sock		*fibnl;  	struct sock		**icmp_sk; -	struct sock		*tcp_sock; - +	struct inet_peer_base	*peers; +	struct tcpm_hash_bucket	*tcp_metrics_hash; +	unsigned int		tcp_metrics_hash_log;  	struct netns_frags	frags;  #ifdef CONFIG_NETFILTER  	struct xt_table		*iptable_filter;  |