aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-03-20 19:55:26 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 19:55:26 -0500
commitc4fd30eb18666972230689eb30e8f90844bce635 (patch)
treef1b8daddeb21d7d1390fa1ae820bf2b5ffa8d276 /include
parent65f5c7c1143fb8eed5bc7e7d8c926346e00fe3c0 (diff)
[IPV6]: ADDRCONF: Add accept_ra_pinfo sysctl.
This controls whether we accept Prefix 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')
-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 c5131a02869a..2c3b799480c5 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -146,6 +146,7 @@ struct ipv6_devconf {
146#endif 146#endif
147 __s32 max_addresses; 147 __s32 max_addresses;
148 __s32 accept_ra_defrtr; 148 __s32 accept_ra_defrtr;
149 __s32 accept_ra_pinfo;
149 void *sysctl; 150 void *sysctl;
150}; 151};
151 152
@@ -169,6 +170,7 @@ enum {
169 DEVCONF_MAX_ADDRESSES, 170 DEVCONF_MAX_ADDRESSES,
170 DEVCONF_FORCE_MLD_VERSION, 171 DEVCONF_FORCE_MLD_VERSION,
171 DEVCONF_ACCEPT_RA_DEFRTR, 172 DEVCONF_ACCEPT_RA_DEFRTR,
173 DEVCONF_ACCEPT_RA_PINFO,
172 DEVCONF_MAX 174 DEVCONF_MAX
173}; 175};
174 176
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index 0f494137d037..09378ea505bd 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -532,6 +532,7 @@ enum {
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_ACCEPT_RA_DEFRTR=18,
535 NET_IPV6_ACCEPT_RA_PINFO=19,
535 __NET_IPV6_MAX 536 __NET_IPV6_MAX
536}; 537};
537 538