Searched refs:ifaddrs (Results 1 – 6 of 6) sorted by relevance
40 TEST(ifaddrs, freeifaddrs_null) { in TEST() argument46 TEST(ifaddrs, getifaddrs_lo) { in TEST() argument47 ifaddrs* addrs = nullptr; in TEST()52 ifaddrs* lo_inet4 = nullptr; in TEST()53 ifaddrs* lo_inet6 = nullptr; in TEST()54 ifaddrs* lo_packet = nullptr; in TEST()55 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()82 TEST(ifaddrs, getifaddrs_interfaces) { in TEST() argument85 ifaddrs* addrs; in TEST()88 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()[all …]
59 ifaddrs* ifa; in TEST()61 for (ifaddrs* it = ifa; it != nullptr; it = it->ifa_next) { in TEST()
45 struct ifaddrs { struct47 struct ifaddrs* _Nullable ifa_next; argument83 int getifaddrs(struct ifaddrs* _Nullable * _Nonnull __list_ptr) __INTRODUCED_IN(24);91 void freeifaddrs(struct ifaddrs* _Nullable __ptr) __INTRODUCED_IN(24);
52 ifaddrs ifa;64 explicit ifaddrs_storage(ifaddrs** list) { in ifaddrs_storage()69 *list = reinterpret_cast<ifaddrs*>(this); in ifaddrs_storage()163 ifaddrs** out = reinterpret_cast<ifaddrs**>(context); in __getifaddrs_callback()251 static void resolve_or_remove_nameless_interfaces(ifaddrs** list) { in resolve_or_remove_nameless_interfaces()255 ifaddrs* next_addr = addr->ifa.ifa_next; in resolve_or_remove_nameless_interfaces()280 static void get_interface_flags_via_ioctl(ifaddrs** list) { in get_interface_flags_via_ioctl()302 int getifaddrs(ifaddrs** out) { in getifaddrs()335 void freeifaddrs(ifaddrs* list) { in freeifaddrs()337 ifaddrs* current = list; in freeifaddrs()
203 * <ifaddrs.h> `getifaddrs`/`freeifaddrs`/`if_freenameindex`/`if_nameindex`
859 "bionic/ifaddrs.cpp",