diff options
author | Stephen Suryaputra <ssuryaextr@gmail.com> | 2019-03-19 12:37:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-19 14:29:51 -0700 |
commit | 03f1eccc7a69c965351e6bee41c62afa2844752f (patch) | |
tree | f2fdd622b6aada216a68de153f01fd4e252ba1a7 /include/net/netns/ipv6.h | |
parent | f9cb75970e7b61e7f0c14dacf709f830b6bf21e8 (diff) |
ipv6: Add icmp_echo_ignore_multicast support for ICMPv6
IPv4 has icmp_echo_ignore_broadcast to prevent responding to broadcast pings.
IPv6 needs a similar mechanism.
v1->v2:
- Remove NET_IPV6_ICMP_ECHO_IGNORE_MULTICAST.
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netns/ipv6.h')
-rw-r--r-- | include/net/netns/ipv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index b028a1dc150d..e29aff15acc9 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h @@ -33,6 +33,7 @@ struct netns_sysctl_ipv6 { int auto_flowlabels; int icmpv6_time; int icmpv6_echo_ignore_all; + int icmpv6_echo_ignore_multicast; int anycast_src_echo_reply; int ip_nonlocal_bind; int fwmark_reflect; |