diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-26 09:55:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-26 09:55:37 +0100 |
commit | a24022e1887978decaa28fb11d1ddff63e31497f (patch) | |
tree | 93164b35de5cafda8af0838ab7c00b63c6b26fd2 /include/net/netns | |
parent | [NETNS][ICMP]: Register pernet subsys to make ICMP sysctls per-net. (diff) | |
download | linux-a24022e1887978decaa28fb11d1ddff63e31497f.tar.xz linux-a24022e1887978decaa28fb11d1ddff63e31497f.zip |
[NETNS][ICMP]: Move ICMP sysctls on struct net.
Initialization is moved to icmp_sk_init, all the places, that
refer to them use init_net for now.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns')
-rw-r--r-- | include/net/netns/ipv4.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/netns/ipv4.h b/include/net/netns/ipv4.h index 504fde174525..e3de0ff8ea4b 100644 --- a/include/net/netns/ipv4.h +++ b/include/net/netns/ipv4.h @@ -35,5 +35,12 @@ struct netns_ipv4 { struct xt_table *iptable_raw; struct xt_table *arptable_filter; #endif + + int sysctl_icmp_echo_ignore_all; + int sysctl_icmp_echo_ignore_broadcasts; + int sysctl_icmp_ignore_bogus_error_responses; + int sysctl_icmp_ratelimit; + int sysctl_icmp_ratemask; + int sysctl_icmp_errors_use_inbound_ifaddr; }; #endif |