Skip to content

Commit

Permalink
ipv6: __KERNEL__ ifdef struct ipv6_devconf
Browse files Browse the repository at this point in the history
Based upon a report by Olaf Hering.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 21, 2008
1 parent 47112e2 commit ebb36a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/linux/ipv6.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ struct ipv6hdr {
struct in6_addr daddr;
};

#ifdef __KERNEL__
/*
* This structure contains configuration options per IPv6 link.
*/
Expand Down Expand Up @@ -167,6 +168,7 @@ struct ipv6_devconf {
__s32 accept_dad;
void *sysctl;
};
#endif

/* index values for the variables in ipv6_devconf */
enum {
Expand Down

0 comments on commit ebb36a9

Please sign in to comment.