Home
last modified time | relevance | path

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

/bionic/tests/
Difaddrs_test.cpp56 if (addr->ifa_name && strcmp(addr->ifa_name, "lo") == 0) { in TEST()
94 ifaddrs_socks.push_back(std::string(addr->ifa_name)); in TEST()
151 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in TEST()
153 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
155 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { in TEST()
157 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); in TEST()
234 ifa->ifa_name, FamilyToName(family), family, in TEST()
Dnet_if_test.cpp62 getifaddrs_names.insert(it->ifa_name); in TEST()
/bionic/libc/bionic/
Difaddrs.cpp190 new_addr->ifa.ifa_name = new_addr->name; in __getifaddrs_callback()
213 new_addr->ifa.ifa_name = new_addr->name; in __getifaddrs_callback()
243 new_addr->ifa.ifa_name = new_addr->name; in __getifaddrs_callback()
260 addr->ifa.ifa_name = addr->name; in resolve_or_remove_nameless_interfaces()
291 strlcpy(ifr.ifr_name, addr->ifa.ifa_name, sizeof(ifr.ifr_name)); in get_interface_flags_via_ioctl()
297 addr->ifa.ifa_name); in get_interface_flags_via_ioctl()
/bionic/libc/include/
Difaddrs.h50 char* _Nullable ifa_name; member