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.java213 StructIfaddrs[] ifaddrs = Libcore.os.getifaddrs(); in testGetNetworkInterfaces_matchesIfaddrs() local
215 Arrays.asList(ifaddrs).forEach(ifa -> ifaddrsNames.add(ifa.ifa_name)); in testGetNetworkInterfaces_matchesIfaddrs()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1598 ifaddrs* ifaddr; in Linux_getifaddrs()
1604 std::unique_ptr<ifaddrs, decltype(&freeifaddrs)> ifaddrPtr(ifaddr, freeifaddrs); in Linux_getifaddrs()
1608 for (ifaddrs* ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next) { in Linux_getifaddrs()
1620 for (ifaddrs* ifa = ifaddr; ifa != NULL; ifa = ifa->ifa_next, ++index) { in Linux_getifaddrs()