Home
last modified time | relevance | path

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

/system/core/libsysutils/src/
DNetlinkEvent.cpp344 struct in_addr *addr4 = (struct in_addr *) RTA_DATA(rta); in parseIfAddrMessage() local
345 if (RTA_PAYLOAD(rta) < sizeof(*addr4)) { in parseIfAddrMessage()
350 inet_ntop(AF_INET, addr4, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
/system/netd/tests/
Dbinder_test.cpp1151 auto *addr4 = reinterpret_cast<const struct sockaddr_in*>(addr->ifa_addr); in interfaceHasAddress()
1153 if (memcmp(&addr4->sin_addr, &want->sin_addr, sizeof(want->sin_addr)) != 0) { in interfaceHasAddress()