Searched refs:addr6 (Results 1 – 1 of 1) sorted by relevance
1515 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *)addr; in _get_scope() local1516 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()1517 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()1518 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()1519 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()1525 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()1579 const struct sockaddr_in6 *addr6 = (const struct sockaddr_in6 *) addr; in _get_label() local1580 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()1582 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()1584 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()[all …]