X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fipv6.h;h=641e026eee8f1e3301a3297b85b0d6bafbcaadf5;hb=80cec14a83ad0ad109d822b3f3482a379bc481ba;hp=cde056e0818172aeb7a5ae8d69998fb83d41796e;hpb=dc7c65db2845a8d17432d89252c4227a9a7cb15f;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index cde056e0818..641e026eee8 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -123,6 +123,7 @@ struct ipv6hdr { struct in6_addr daddr; }; +#ifdef __KERNEL__ /* * This structure contains configuration options per IPv6 link. */ @@ -163,8 +164,11 @@ struct ipv6_devconf { #ifdef CONFIG_IPV6_MROUTE __s32 mc_forwarding; #endif + __s32 disable_ipv6; + __s32 accept_dad; void *sysctl; }; +#endif /* index values for the variables in ipv6_devconf */ enum { @@ -194,6 +198,8 @@ enum { DEVCONF_OPTIMISTIC_DAD, DEVCONF_ACCEPT_SOURCE_ROUTE, DEVCONF_MC_FORWARDING, + DEVCONF_DISABLE_IPV6, + DEVCONF_ACCEPT_DAD, DEVCONF_MAX };