more IPv6 macros

This commit is contained in:
Mark Andrews
2001-05-08 06:25:30 +00:00
parent fcfb81e3c4
commit 8f7edcb227
+7
View File
@@ -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) && \