Home
last modified time | relevance | path

Searched refs:addr6 (Results 1 – 1 of 1) sorted by relevance

/packages/modules/DnsResolver/
Dgetaddrinfo.cpp1036 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_scope() local
1037 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()
1038 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()
1039 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()
1040 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()
1046 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()
1095 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_label() local
1096 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()
1098 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()
1100 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()
[all …]