Searched refs:addr6 (Results 1 – 5 of 5) sorted by relevance
49 struct sockaddr_in6* addr6 = reinterpret_cast<sockaddr_in6*>(addr); in loopback_addr6() local50 *addrlen = sizeof(*addr6); in loopback_addr6()52 addr6->sin6_family = AF_INET6; in loopback_addr6()53 addr6->sin6_addr = in6addr_loopback; in loopback_addr6()54 addr6->sin6_port = htons(port); in loopback_addr6()
1023 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_scope() local1024 if (IN6_IS_ADDR_MULTICAST(&addr6->sin6_addr)) { in _get_scope()1025 return IPV6_ADDR_MC_SCOPE(&addr6->sin6_addr); in _get_scope()1026 } else if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr) || in _get_scope()1027 IN6_IS_ADDR_LINKLOCAL(&addr6->sin6_addr)) { in _get_scope()1033 } else if (IN6_IS_ADDR_SITELOCAL(&addr6->sin6_addr)) { in _get_scope()1082 const struct sockaddr_in6* addr6 = (const struct sockaddr_in6*) addr; in _get_label() local1083 if (IN6_IS_ADDR_LOOPBACK(&addr6->sin6_addr)) { in _get_label()1085 } else if (IN6_IS_ADDR_V4MAPPED(&addr6->sin6_addr)) { in _get_label()1087 } else if (IN6_IS_ADDR_6TO4(&addr6->sin6_addr)) { in _get_label()[all …]
197 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); in parseIfAddrMessage() local198 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { in parseIfAddrMessage()203 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
207 in6_addr addr6() const noexcept { return mData.ip.v6; } in addr6() function
829 auto *addr6 = reinterpret_cast<const struct sockaddr_in6*>(addr->ifa_addr); in interfaceHasAddress()831 if (memcmp(&addr6->sin6_addr, &want->sin6_addr, sizeof(want->sin6_addr)) != 0) { in interfaceHasAddress()