aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-06-28 01:18:38 -0400
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-07-03 04:51:56 -0400
commit1b34be74cbf18f5d58cc85c7c4afcd9f7d74accd (patch)
tree46cae932b628e96af0a269f8653684298d5ea65f /include
parent778d80be52699596bf70e0eb0761cf5e1e46088d (diff)
ipv6 addrconf: add accept_dad sysctl to control DAD operation.
- If 0, disable DAD. - If 1, perform DAD (default). - If >1, perform DAD and disable IPv6 operation if DAD for MAC-based link-local address has been failed (RFC4862 5.4.5). We do not follow RFC4862 by default. Refer to the netdev thread entitled "Linux IPv6 DAD not full conform to RFC 4862 ?" http://www.spinics.net/lists/netdev/msg52027.html Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index d9d7f9b69eb4..391ad0843a46 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -164,6 +164,7 @@ struct ipv6_devconf {
164 __s32 mc_forwarding; 164 __s32 mc_forwarding;
165#endif 165#endif
166 __s32 disable_ipv6; 166 __s32 disable_ipv6;
167 __s32 accept_dad;
167 void *sysctl; 168 void *sysctl;
168}; 169};
169 170
@@ -196,6 +197,7 @@ enum {
196 DEVCONF_ACCEPT_SOURCE_ROUTE, 197 DEVCONF_ACCEPT_SOURCE_ROUTE,
197 DEVCONF_MC_FORWARDING, 198 DEVCONF_MC_FORWARDING,
198 DEVCONF_DISABLE_IPV6, 199 DEVCONF_DISABLE_IPV6,
200 DEVCONF_ACCEPT_DAD,
199 DEVCONF_MAX 201 DEVCONF_MAX
200}; 202};
201 203