Home
last modified time | relevance | path

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

/bionic/libc/dns/net/
Dgetaddrinfo.c1496 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *)addr; in _get_scope() local
1497 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()
1498 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()
1499 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()
1500 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()
1506 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()
1560 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *) addr; in _get_label() local
1561 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()
1563 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()
1565 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()
[all …]