aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-03-26 04:55:37 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-26 04:55:37 -0400
commita24022e1887978decaa28fb11d1ddff63e31497f (patch)
tree93164b35de5cafda8af0838ab7c00b63c6b26fd2 /include/net/netns
parent1577519d6b3777d2d3ba05871dd7ee40112c58ce (diff)
[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.h7
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 {
35 struct xt_table *iptable_raw; 35 struct xt_table *iptable_raw;
36 struct xt_table *arptable_filter; 36 struct xt_table *arptable_filter;
37#endif 37#endif
38
39 int sysctl_icmp_echo_ignore_all;
40 int sysctl_icmp_echo_ignore_broadcasts;
41 int sysctl_icmp_ignore_bogus_error_responses;
42 int sysctl_icmp_ratelimit;
43 int sysctl_icmp_ratemask;
44 int sysctl_icmp_errors_use_inbound_ifaddr;
38}; 45};
39#endif 46#endif