History

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.

Francesco Ruggeri committed 7 years ago

Commit 9036b2f1 parent 46d84114 files · +19 −1Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/in6.h+1−0
@@ -178,6 +178,7 @@ struct in6_flowlabel_req { · 177 unmodified lines
178178 #define IPV6_JOIN_ANYCAST 27
179179 #define IPV6_LEAVE_ANYCAST 28
180180 #define IPV6_MULTICAST_ALL 29
181+#define IPV6_ROUTER_ALERT_ISOLATE 30
181182
182183 /* IPV6_MTU_DISCOVER values */
183184 #define IPV6_PMTUDISC_DONT 0