mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
ipv6: __KERNEL__ ifdef struct ipv6_devconf
Based upon a report by Olaf Hering. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
47112e25da
commit
ebb36a9781
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
__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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue