more IPv6 macros
This commit is contained in:
@@ -97,6 +97,13 @@ extern const struct in6_addr in6addr_any;
|
||||
#define __IPV6_ADDR_MC_SCOPE(a) ((a)->s6_addr[1] & 0x0f)
|
||||
#endif
|
||||
|
||||
#ifndef __IPV6_ADDR_SCOPE_SITELOCAL
|
||||
#define __IPV6_ADDR_SCOPE_SITELOCAL 0x05
|
||||
#define
|
||||
#ifndef __IPV6_ADDR_SCOPE_ORGLOCAL
|
||||
#define __IPV6_ADDR_SCOPE_ORGLOCAL 0x08
|
||||
#define
|
||||
|
||||
#ifndef IN6_IS_ADDR_MC_SITELOCAL
|
||||
#define IN6_IS_ADDR_MC_SITELOCAL(a) \
|
||||
(IN6_IS_ADDR_MULTICAST(a) && \
|
||||
|
||||
Reference in New Issue
Block a user