summaryrefslogtreecommitdiff
path: root/include/uapi/linux/in6.h
diff options
context:
space:
mode:
authorFrancesco Ruggeri <fruggeri@arista.com>2019-03-02 02:31:03 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-04 08:05:10 +0300
commit9036b2fe092a107856edd1a3bad48b83f2b45000 (patch)
treeb9e330a8e765941112abcccfe48d968eca75bd4d /include/uapi/linux/in6.h
parent46d841105d791b0ab51a1a7ebf48cb4d5416c957 (diff)
downloadlinux-9036b2fe092a107856edd1a3bad48b83f2b45000.tar.xz
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/uapi/linux/in6.h')
-rw-r--r--include/uapi/linux/in6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/in6.h b/include/uapi/linux/in6.h
index 71d82fe15b03..9f2273a08356 100644
--- a/include/uapi/linux/in6.h
+++ b/include/uapi/linux/in6.h
@@ -178,6 +178,7 @@ struct in6_flowlabel_req {
#define IPV6_JOIN_ANYCAST 27
#define IPV6_LEAVE_ANYCAST 28
#define IPV6_MULTICAST_ALL 29
+#define IPV6_ROUTER_ALERT_ISOLATE 30
/* IPV6_MTU_DISCOVER values */
#define IPV6_PMTUDISC_DONT 0