diff options
Diffstat (limited to 'include/net/netns/ipv4.h')
| -rw-r--r-- | include/net/netns/ipv4.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index a9b4f6086294..34ee348a2cf2 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h | |||
| @@ -17,6 +17,7 @@ struct netns_ipv4 { | |||
| 17 | #ifdef CONFIG_SYSCTL | 17 | #ifdef CONFIG_SYSCTL |
| 18 | struct ctl_table_header *forw_hdr; | 18 | struct ctl_table_header *forw_hdr; |
| 19 | struct ctl_table_header *frags_hdr; | 19 | struct ctl_table_header *frags_hdr; |
| 20 | struct ctl_table_header *ipv4_hdr; | ||
| 20 | #endif | 21 | #endif |
| 21 | struct ipv4_devconf *devconf_all; | 22 | struct ipv4_devconf *devconf_all; |
| 22 | struct ipv4_devconf *devconf_dflt; | 23 | struct ipv4_devconf *devconf_dflt; |
| @@ -26,6 +27,9 @@ struct netns_ipv4 { | |||
| 26 | struct hlist_head *fib_table_hash; | 27 | struct hlist_head *fib_table_hash; |
| 27 | struct sock *fibnl; | 28 | struct sock *fibnl; |
| 28 | 29 | ||
| 30 | struct sock **icmp_sk; | ||
| 31 | struct sock *tcp_sock; | ||
| 32 | |||
| 29 | struct netns_frags frags; | 33 | struct netns_frags frags; |
| 30 | #ifdef CONFIG_NETFILTER | 34 | #ifdef CONFIG_NETFILTER |
| 31 | struct xt_table *iptable_filter; | 35 | struct xt_table *iptable_filter; |
| @@ -33,5 +37,12 @@ struct netns_ipv4 { | |||
| 33 | struct xt_table *iptable_raw; | 37 | struct xt_table *iptable_raw; |
| 34 | struct xt_table *arptable_filter; | 38 | struct xt_table *arptable_filter; |
| 35 | #endif | 39 | #endif |
| 40 | |||
| 41 | int sysctl_icmp_echo_ignore_all; | ||
| 42 | int sysctl_icmp_echo_ignore_broadcasts; | ||
| 43 | int sysctl_icmp_ignore_bogus_error_responses; | ||
| 44 | int sysctl_icmp_ratelimit; | ||
| 45 | int sysctl_icmp_ratemask; | ||
| 46 | int sysctl_icmp_errors_use_inbound_ifaddr; | ||
| 36 | }; | 47 | }; |
| 37 | #endif | 48 | #endif |
