Searched refs:ifaddrs (Results 1 – 6 of 6) sorted by relevance
35 TEST(ifaddrs, freeifaddrs_null) { in TEST() argument41 TEST(ifaddrs, getifaddrs_lo) { in TEST() argument42 ifaddrs* addrs = nullptr; in TEST()47 ifaddrs* lo_inet4 = nullptr; in TEST()48 ifaddrs* lo_inet6 = nullptr; in TEST()49 ifaddrs* lo_packet = nullptr; in TEST()50 for (ifaddrs* addr = addrs; addr != nullptr; addr = addr->ifa_next) { in TEST()77 TEST(ifaddrs, getifaddrs_interfaces) { in TEST() argument80 ifaddrs* addrs; in TEST()83 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* ifa_next; argument83 int getifaddrs(struct ifaddrs** __list_ptr) __INTRODUCED_IN(24);91 void freeifaddrs(struct ifaddrs* __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()303 int getifaddrs(ifaddrs** out) { in getifaddrs()339 void freeifaddrs(ifaddrs* list) { in freeifaddrs()341 ifaddrs* current = list; in freeifaddrs()
146 * <ifaddrs.h> `getifaddrs`/`freeifaddrs`/`if_freenameindex`/`if_nameindex`
1062 "bionic/ifaddrs.cpp",