Searched refs:addr4 (Results 1 – 3 of 3) sorted by relevance
211 struct in_addr *addr4 = (struct in_addr *) RTA_DATA(rta); in parseIfAddrMessage() local212 if (RTA_PAYLOAD(rta) < sizeof(*addr4)) { in parseIfAddrMessage()217 inet_ntop(AF_INET, addr4, addrstr, sizeof(addrstr)); in parseIfAddrMessage()
221 in_addr addr4() const noexcept { return mData.ip.v4; } in addr4() function
921 auto *addr4 = reinterpret_cast<const struct sockaddr_in*>(addr->ifa_addr); in interfaceHasAddress()923 if (memcmp(&addr4->sin_addr, &want->sin_addr, sizeof(want->sin_addr)) != 0) { in interfaceHasAddress()