diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-02-19 23:16:10 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-02-19 23:16:10 +0000 |
commit | e072c794ad546141ca36a77dacd772280cc51601 (patch) | |
tree | d1a73e3b79a17ded7bbfee5736d483701c497ca7 /sys/netinet6/in6_var.h | |
parent | b0af3a5363f5f962018bcc0f73b2d348c2391447 (diff) | |
download | src-e072c794ad546141ca36a77dacd772280cc51601.tar.gz src-e072c794ad546141ca36a77dacd772280cc51601.zip |
Now that all users of _WANT_IFADDR are fixed, remove this crutch and
hide ifaddr, in_ifaddr and in6_ifaddr under _KERNEL.
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
Notes
Notes:
svn path=/head/; revision=279030
Diffstat (limited to 'sys/netinet6/in6_var.h')
-rw-r--r-- | sys/netinet6/in6_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/in6_var.h b/sys/netinet6/in6_var.h index 7da67bb5dfb7..7d1551bd9524 100644 --- a/sys/netinet6/in6_var.h +++ b/sys/netinet6/in6_var.h @@ -110,7 +110,7 @@ struct in6_ifextra { #define LLTABLE6(ifp) (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->lltable) -#if defined(_KERNEL) || defined(_WANT_IFADDR) +#ifdef _KERNEL struct in6_ifaddr { struct ifaddr ia_ifa; /* protocol-independent info */ #define ia_ifp ia_ifa.ifa_ifp @@ -141,7 +141,7 @@ struct in6_ifaddr { /* List of in6_ifaddr's. */ TAILQ_HEAD(in6_ifaddrhead, in6_ifaddr); LIST_HEAD(in6_ifaddrlisthead, in6_ifaddr); -#endif +#endif /* _KERNEL */ /* control structure to manage address selection policy */ struct in6_addrpolicy { |