Searched refs:addr6 (Results 1 – 4 of 4) 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()
219 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); in parseIfAddrMessage() local220 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { in parseIfAddrMessage()225 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
222 in6_addr addr6() const noexcept { return mData.ip.v6; } in addr6() function
783 auto *addr6 = reinterpret_cast<const struct sockaddr_in6*>(addr->ifa_addr); in interfaceHasAddress()785 if (memcmp(&addr6->sin6_addr, &want->sin6_addr, sizeof(want->sin6_addr)) != 0) { in interfaceHasAddress()