Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DNetlinkEvent.cpp193 struct in6_addr *addr6 = (struct in6_addr *) RTA_DATA(rta); in parseIfAddrMessage() local
194 if (RTA_PAYLOAD(rta) < sizeof(*addr6)) { in parseIfAddrMessage()
199 inet_ntop(AF_INET6, addr6, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
/system/netd/tests/
Dbinder_test.cpp495 auto *addr6 = reinterpret_cast<const struct sockaddr_in6*>(addr->ifa_addr); in interfaceHasAddress()
497 if (memcmp(&addr6->sin6_addr, &want->sin6_addr, sizeof(want->sin6_addr)) != 0) { in interfaceHasAddress()