aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2006-03-20 20:07:03 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 20:07:03 -0500
commit09c884d4c3b45cda904c2291d4723074ff523611 (patch)
tree90b893f1b83165d7088ecdead94085969e0a58ef /include/linux
parente317da96227cef28a137e2d1ad790b23e518dd2b (diff)
[IPV6]: ROUTE: Add accept_ra_rt_info_max_plen sysctl.
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.h4
-rw-r--r--include/linux/sysctl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index c609cc702375..1263d8cb3c18 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -150,6 +150,9 @@ struct ipv6_devconf {
150#ifdef CONFIG_IPV6_ROUTER_PREF 150#ifdef CONFIG_IPV6_ROUTER_PREF
151 __s32 accept_ra_rtr_pref; 151 __s32 accept_ra_rtr_pref;
152 __s32 rtr_probe_interval; 152 __s32 rtr_probe_interval;
153#ifdef CONFIG_IPV6_ROUTE_INFO
154 __s32 accept_ra_rt_info_max_plen;
155#endif
153#endif 156#endif
154 void *sysctl; 157 void *sysctl;
155}; 158};
@@ -177,6 +180,7 @@ enum {
177 DEVCONF_ACCEPT_RA_PINFO, 180 DEVCONF_ACCEPT_RA_PINFO,
178 DEVCONF_ACCEPT_RA_RTR_PREF, 181 DEVCONF_ACCEPT_RA_RTR_PREF,
179 DEVCONF_RTR_PROBE_INTERVAL, 182 DEVCONF_RTR_PROBE_INTERVAL,
183 DEVCONF_ACCEPT_RA_RT_INFO_MAX_PLEN,
180 DEVCONF_MAX 184 DEVCONF_MAX
181}; 185};
182 186
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index f49488ffefef..8ad4beab2888 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -535,6 +535,7 @@ enum {
535 NET_IPV6_ACCEPT_RA_PINFO=19, 535 NET_IPV6_ACCEPT_RA_PINFO=19,
536 NET_IPV6_ACCEPT_RA_RTR_PREF=20, 536 NET_IPV6_ACCEPT_RA_RTR_PREF=20,
537 NET_IPV6_RTR_PROBE_INTERVAL=21, 537 NET_IPV6_RTR_PROBE_INTERVAL=21,
538 NET_IPV6_ACCEPT_RA_RT_INFO_MAX_PLEN=22,
538 __NET_IPV6_MAX 539 __NET_IPV6_MAX
539}; 540};
540 541