Home
last modified time | relevance | path

Searched refs:ifaddrs (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DNetworkInterface.java433 StructIfaddrs[] ifaddrs; in getAll() local
435 ifaddrs = Libcore.os.getifaddrs(); in getAll()
440 for (StructIfaddrs ifa : ifaddrs) { in getAll()
/libcore/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java216 StructIfaddrs[] ifaddrs = Libcore.os.getifaddrs(); in testGetNetworkInterfaces_matchesIfaddrs() local
218 Arrays.asList(ifaddrs).forEach(ifa -> ifaddrsNames.add(ifa.ifa_name)); in testGetNetworkInterfaces_matchesIfaddrs()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1647 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()