diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-03-20 19:55:08 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 19:55:08 -0500 |
commit | 65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 (patch) | |
tree | fb61c9f73577a7fec29b11039d1434b972796d8b /include/linux/ipv6.h | |
parent | 073a8e0e154c1c440e0b33aaa887473d5cc843f4 (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/ipv6.h')
-rw-r--r-- | include/linux/ipv6.h | 2 |
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 { | |||
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 | ||