Searched refs:ifaddrs (Results 1 – 3 of 3) sorted by relevance
433 StructIfaddrs[] ifaddrs; in getAll() local435 ifaddrs = Libcore.os.getifaddrs(); in getAll()440 for (StructIfaddrs ifa : ifaddrs) { in getAll()
216 StructIfaddrs[] ifaddrs = Libcore.os.getifaddrs(); in testGetNetworkInterfaces_matchesIfaddrs() local218 Arrays.asList(ifaddrs).forEach(ifa -> ifaddrsNames.add(ifa.ifa_name)); in testGetNetworkInterfaces_matchesIfaddrs()
1647 ifaddrs* ifaddr; in Linux_getifaddrs()1653 std::unique_ptr<ifaddrs, decltype(&freeifaddrs)> ifaddrPtr(ifaddr, freeifaddrs); in Linux_getifaddrs()1657 for (ifaddrs* ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { in Linux_getifaddrs()1669 for (ifaddrs* ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next, ++index) { in Linux_getifaddrs()