aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorFrancesco Ruggeri <fruggeri@arista.com>2019-03-01 15:31:03 -0800
committerDavid S. Miller <davem@davemloft.net>2019-03-03 21:05:10 -0800
commit9036b2fe092a107856edd1a3bad48b83f2b45000 (patch)
treeb9e330a8e765941112abcccfe48d968eca75bd4d /include/linux/ipv6.h
parentnet: fixup address-space warnings in compat_mc_{get,set}sockopt() (diff)
downloadlinux-dev-9036b2fe092a107856edd1a3bad48b83f2b45000.tar.xz
linux-dev-9036b2fe092a107856edd1a3bad48b83f2b45000.zip
net: ipv6: add socket option IPV6_ROUTER_ALERT_ISOLATE
By default IPv6 socket with IPV6_ROUTER_ALERT socket option set will receive all IPv6 RA packets from all namespaces. IPV6_ROUTER_ALERT_ISOLATE socket option restricts packets received by the socket to be only from the socket's namespace. Signed-off-by: Maxim Martynov <maxim@arista.com> Signed-off-by: Francesco Ruggeri <fruggeri@arista.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 6d45ce784bea..ea7c7906591e 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -281,7 +281,8 @@ struct ipv6_pinfo {
dontfrag:1,
autoflowlabel:1,
autoflowlabel_set:1,
- mc_all:1;
+ mc_all:1,
+ rtalert_isolate:1;
__u8 min_hopcount;
__u8 tclass;
__be32 rcv_flowinfo;