Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/posix/
Dnetwork.cpp49 struct sockaddr_in6* addr6 = reinterpret_cast<sockaddr_in6*>(addr); in loopback_addr6() local
50 *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()
/system/core/libsysutils/src/
DNetlinkEvent.cpp219 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); in parseIfAddrMessage() local
220 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { in parseIfAddrMessage()
225 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
/system/netd/libnetdutils/include/netdutils/
DInternetAddresses.h222 in6_addr addr6() const noexcept { return mData.ip.v6; } in addr6() function
/system/netd/tests/
Dbinder_test.cpp783 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()