aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-03-20 19:55:08 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 19:55:08 -0500
commit65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 (patch)
treefb61c9f73577a7fec29b11039d1434b972796d8b /include/linux
parent073a8e0e154c1c440e0b33aaa887473d5cc843f4 (diff)
[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')
-rw-r--r--include/linux/ipv6.h2
-rw-r--r--include/linux/sysctl.h1
2 files changed, 3 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 {
145 __s32 max_desync_factor; 145 __s32 max_desync_factor;
146#endif 146#endif
147 __s32 max_addresses; 147 __s32 max_addresses;
148 __s32 accept_ra_defrtr;
148 void *sysctl; 149 void *sysctl;
149}; 150};
150 151
@@ -167,6 +168,7 @@ enum {
167 DEVCONF_MAX_DESYNC_FACTOR, 168 DEVCONF_MAX_DESYNC_FACTOR,
168 DEVCONF_MAX_ADDRESSES, 169 DEVCONF_MAX_ADDRESSES,
169 DEVCONF_FORCE_MLD_VERSION, 170 DEVCONF_FORCE_MLD_VERSION,
171 DEVCONF_ACCEPT_RA_DEFRTR,
170 DEVCONF_MAX 172 DEVCONF_MAX
171}; 173};
172 174
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index bac61db26456..0f494137d037 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -531,6 +531,7 @@ enum {
531 NET_IPV6_MAX_DESYNC_FACTOR=15, 531 NET_IPV6_MAX_DESYNC_FACTOR=15,
532 NET_IPV6_MAX_ADDRESSES=16, 532 NET_IPV6_MAX_ADDRESSES=16,
533 NET_IPV6_FORCE_MLD_VERSION=17, 533 NET_IPV6_FORCE_MLD_VERSION=17,
534 NET_IPV6_ACCEPT_RA_DEFRTR=18,
534 __NET_IPV6_MAX 535 __NET_IPV6_MAX
535}; 536};
536 537