diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ipv6.h | 4 | ||||
-rw-r--r-- | include/linux/sysctl.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 2c3b799480c5..108b75dccd9f 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h | |||
@@ -147,6 +147,9 @@ struct ipv6_devconf { | |||
147 | __s32 max_addresses; | 147 | __s32 max_addresses; |
148 | __s32 accept_ra_defrtr; | 148 | __s32 accept_ra_defrtr; |
149 | __s32 accept_ra_pinfo; | 149 | __s32 accept_ra_pinfo; |
150 | #ifdef CONFIG_IPV6_ROUTER_PREF | ||
151 | __s32 accept_ra_rtr_pref; | ||
152 | #endif | ||
150 | void *sysctl; | 153 | void *sysctl; |
151 | }; | 154 | }; |
152 | 155 | ||
@@ -171,6 +174,7 @@ enum { | |||
171 | DEVCONF_FORCE_MLD_VERSION, | 174 | DEVCONF_FORCE_MLD_VERSION, |
172 | DEVCONF_ACCEPT_RA_DEFRTR, | 175 | DEVCONF_ACCEPT_RA_DEFRTR, |
173 | DEVCONF_ACCEPT_RA_PINFO, | 176 | DEVCONF_ACCEPT_RA_PINFO, |
177 | DEVCONF_ACCEPT_RA_RTR_PREF, | ||
174 | DEVCONF_MAX | 178 | DEVCONF_MAX |
175 | }; | 179 | }; |
176 | 180 | ||
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h index 09378ea505bd..236f537b38d2 100644 --- a/include/linux/sysctl.h +++ b/include/linux/sysctl.h | |||
@@ -533,6 +533,7 @@ enum { | |||
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_ACCEPT_RA_PINFO=19, |
536 | NET_IPV6_ACCEPT_RA_RTR_PREF=20, | ||
536 | __NET_IPV6_MAX | 537 | __NET_IPV6_MAX |
537 | }; | 538 | }; |
538 | 539 | ||