提交 ebb36a97 编写于 作者: D David S. Miller

ipv6: __KERNEL__ ifdef struct ipv6_devconf

Based upon a report by Olaf Hering.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 47112e25
...@@ -123,6 +123,7 @@ struct ipv6hdr { ...@@ -123,6 +123,7 @@ struct ipv6hdr {
struct in6_addr daddr; struct in6_addr daddr;
}; };
#ifdef __KERNEL__
/* /*
* This structure contains configuration options per IPv6 link. * This structure contains configuration options per IPv6 link.
*/ */
...@@ -167,6 +168,7 @@ struct ipv6_devconf { ...@@ -167,6 +168,7 @@ struct ipv6_devconf {
__s32 accept_dad; __s32 accept_dad;
void *sysctl; void *sysctl;
}; };
#endif
/* index values for the variables in ipv6_devconf */ /* index values for the variables in ipv6_devconf */
enum { enum {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册