summaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-03-20 16:55:08 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-20 16:55:08 -0800
commit65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 (patch)
treefb61c9f73577a7fec29b11039d1434b972796d8b /include/linux/ipv6.h
parent073a8e0e154c1c440e0b33aaa887473d5cc843f4 (diff)
downloadlinux-65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0.tar.gz
linux-65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0.tar.bz2
linux-65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0.zip
[IPV6]: ROUTE: Add accept_ra_defrtr sysctl.
This controls whether we accept default router information in RAs. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ipv6.h')
-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 9c8f4c9ed429..c5131a02869a 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -145,6 +145,7 @@ struct ipv6_devconf {
__s32 max_desync_factor;
#endif
__s32 max_addresses;
+ __s32 accept_ra_defrtr;
void *sysctl;
};
@@ -167,6 +168,7 @@ enum {
DEVCONF_MAX_DESYNC_FACTOR,
DEVCONF_MAX_ADDRESSES,
DEVCONF_FORCE_MLD_VERSION,
+ DEVCONF_ACCEPT_RA_DEFRTR,
DEVCONF_MAX
};