|
@@ -44,11 +44,11 @@ struct in6_addr
|
|
* NOTE: Be aware the IN6ADDR_* constants and in6addr_* externals are defined
|
|
* NOTE: Be aware the IN6ADDR_* constants and in6addr_* externals are defined
|
|
* in network byte order, not in host byte order as are the IPv4 equivalents
|
|
* in network byte order, not in host byte order as are the IPv4 equivalents
|
|
*/
|
|
*/
|
|
|
|
+#ifdef __KERNEL__
|
|
extern const struct in6_addr in6addr_any;
|
|
extern const struct in6_addr in6addr_any;
|
|
#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
|
|
#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
|
|
extern const struct in6_addr in6addr_loopback;
|
|
extern const struct in6_addr in6addr_loopback;
|
|
#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
|
|
#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
|
|
-#ifdef __KERNEL__
|
|
|
|
extern const struct in6_addr in6addr_linklocal_allnodes;
|
|
extern const struct in6_addr in6addr_linklocal_allnodes;
|
|
#define IN6ADDR_LINKLOCAL_ALLNODES_INIT \
|
|
#define IN6ADDR_LINKLOCAL_ALLNODES_INIT \
|
|
{ { { 0xff,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
|
|
{ { { 0xff,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
|