summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ipv6.h
diff options
context:
space:
mode:
authorErik Kline2015-07-22 09:38:25 +0200
committerDavid S. Miller2015-07-22 19:54:11 +0200
commit3985e8a3611a93bb36789f65db862e5700aab65e (patch)
tree667800cbbe808601389a59754448cdf237a51ab8 /include/uapi/linux/ipv6.h
parentr8152: support the new RTL8153 chip (diff)
downloadkernel-qcow2-linux-3985e8a3611a93bb36789f65db862e5700aab65e.tar.gz
kernel-qcow2-linux-3985e8a3611a93bb36789f65db862e5700aab65e.tar.xz
kernel-qcow2-linux-3985e8a3611a93bb36789f65db862e5700aab65e.zip
ipv6: sysctl to restrict candidate source addresses
Per RFC 6724, section 4, "Candidate Source Addresses": It is RECOMMENDED that the candidate source addresses be the set of unicast addresses assigned to the interface that will be used to send to the destination (the "outgoing" interface). Add a sysctl to enable this behaviour. Signed-off-by: Erik Kline <ek@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/ipv6.h')
-rw-r--r--include/uapi/linux/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ipv6.h b/include/uapi/linux/ipv6.h
index 5efa54ae567c..641a146ead7d 100644
--- a/include/uapi/linux/ipv6.h
+++ b/include/uapi/linux/ipv6.h
@@ -171,6 +171,7 @@ enum {
DEVCONF_USE_OPTIMISTIC,
DEVCONF_ACCEPT_RA_MTU,
DEVCONF_STABLE_SECRET,
+ DEVCONF_USE_OIF_ADDRS_ONLY,
DEVCONF_MAX
};