aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-21 16:41:16 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-21 16:41:16 -0400
commitebb36a978131810c98e7198b1187090c697cf99f (patch)
tree713974312942185ae7c46df9f00b06643af44c35 /include
parent47112e25da41d9059626033986dc3353e101f815 (diff)
ipv6: __KERNEL__ ifdef struct ipv6_devconf
Based upon a report by Olaf Hering. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ipv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 391ad0843a46..641e026eee8f 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -123,6 +123,7 @@ struct ipv6hdr {
123 struct in6_addr daddr; 123 struct in6_addr daddr;
124}; 124};
125 125
126#ifdef __KERNEL__
126/* 127/*
127 * This structure contains configuration options per IPv6 link. 128 * This structure contains configuration options per IPv6 link.
128 */ 129 */
@@ -167,6 +168,7 @@ struct ipv6_devconf {
167 __s32 accept_dad; 168 __s32 accept_dad;
168 void *sysctl; 169 void *sysctl;
169}; 170};
171#endif
170 172
171/* index values for the variables in ipv6_devconf */ 173/* index values for the variables in ipv6_devconf */
172enum { 174enum {