Home
last modified time | relevance | path

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

123

/third_party/musl/libc-test/src/functionalext/supplement/network/
Dfreeifaddrs.c29 struct ifaddrs *addrs = NULL; in freeifaddrs_0100()
30 struct ifaddrs *lo_inet4 = NULL; in freeifaddrs_0100()
31 struct ifaddrs *lo_inet6 = NULL; in freeifaddrs_0100()
32 struct ifaddrs *lo_packet = NULL; in freeifaddrs_0100()
42 for (struct ifaddrs *addr = addrs; addr != NULL; addr = addr->ifa_next) { in freeifaddrs_0100()
Dgetifaddrs.c26 struct ifaddrs *ifaddr; in getifaddrs_0100()
/third_party/rust/crates/nix/src/
Difaddrs.rs37 fn get_ifu_from_sockaddr(info: &libc::ifaddrs) -> *const libc::sockaddr {
41 fn get_ifu_from_sockaddr(info: &libc::ifaddrs) -> *const libc::sockaddr {
57 unsafe fn workaround_xnu_bug(info: &libc::ifaddrs) -> Option<SockaddrStorage> { in workaround_xnu_bug()
85 fn from_libc_ifaddrs(info: &libc::ifaddrs) -> InterfaceAddress { in from_libc_ifaddrs()
120 base: *mut libc::ifaddrs,
121 next: *mut libc::ifaddrs,
169 let mut addrs = mem::MaybeUninit::<*mut libc::ifaddrs>::uninit(); in getifaddrs()
Dlib.rs98 pub mod ifaddrs;
/third_party/libwebsockets/lib/misc/
Dgetifaddrs.c65 getifaddrs2(struct ifaddrs **ifap, int af, int siocgifconf, int siocgifflags, in getifaddrs2()
77 struct ifaddrs *start, **end = &start; in getifaddrs2()
189 getifaddrs(struct ifaddrs **ifap) in getifaddrs()
212 freeifaddrs(struct ifaddrs *ifp) in freeifaddrs()
214 struct ifaddrs *p, *q; in freeifaddrs()
247 print_ifaddrs(struct ifaddrs *x) in print_ifaddrs()
249 struct ifaddrs *p; in print_ifaddrs()
267 struct ifaddrs *a = NULL, *b; in main()
Dgetifaddrs.h57 struct ifaddrs { struct
58 struct ifaddrs *ifa_next; argument
71 int getifaddrs(struct ifaddrs **); argument
73 void freeifaddrs(struct ifaddrs *);
/third_party/musl/include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_m/kernel/include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/ndk_musl_include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/uniproton/kernel/include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_a/kernel/include/
Difaddrs.h12 struct ifaddrs { struct
13 struct ifaddrs *ifa_next; argument
27 void freeifaddrs(struct ifaddrs *); argument
28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_a/user/src/network/
Dgetifaddrs.c37 struct ifaddrs ifa;
50 void freeifaddrs(struct ifaddrs *ifp) in freeifaddrs()
52 struct ifaddrs *tmp = NULL; in freeifaddrs()
217 static struct ifaddrs* ifaddrs_init() in ifaddrs_init()
219 struct ifaddrs *ifa = NULL; in ifaddrs_init()
220 ifa = malloc(sizeof(struct ifaddrs)); in ifaddrs_init()
237 int getifaddrs(struct ifaddrs **ifap) in getifaddrs()
247 struct ifaddrs *ifstart = NULL; in getifaddrs()
265 struct ifaddrs *ifa = ifstart; in getifaddrs()
/third_party/libuv/src/unix/
Dbsd-ifaddrs.c38 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude()
69 struct ifaddrs* addrs; in uv_interface_addresses()
70 struct ifaddrs* ent; in uv_interface_addresses()
Dsunos.c743 struct ifaddrs* ent) { in uv__set_phys_addr()
785 static int uv__ifaddr_exclude(struct ifaddrs *ent) { in uv__ifaddr_exclude()
798 struct ifaddrs* addrs; in uv_interface_addresses()
799 struct ifaddrs* ent; in uv_interface_addresses()
Dlinux-core.c620 static int uv__ifaddr_exclude(struct ifaddrs *ent, int exclude_type) { in uv__ifaddr_exclude()
641 struct ifaddrs *addrs, *ent; in uv_interface_addresses()
/third_party/libuv/
DMakefile.am399 src/unix/bsd-ifaddrs.c \
413 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
426 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
436 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
448 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
458 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
484 src/unix/bsd-ifaddrs.c \
496 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
506 libuv_la_SOURCES += src/unix/bsd-ifaddrs.c \
/third_party/musl/src/network/
Dgetifaddrs.c34 struct ifaddrs ifa;
47 void freeifaddrs(struct ifaddrs *ifp) in freeifaddrs()
49 struct ifaddrs *n; in freeifaddrs()
207 int getifaddrs(struct ifaddrs **ifap) in getifaddrs()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-sockets.c208 struct ifaddrs *ifr; in lws_interface_to_sa()
209 struct ifaddrs *ifc; in lws_interface_to_sa()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_os_userspace.h339 struct ifaddrs { struct
340 struct ifaddrs *ifa_next; argument
391 int Win_getifaddrs(struct ifaddrs**);
885 …INTFC(sctp_ifn) sctp_userspace_get_mtu_from_ifn(if_nametoindex(((struct ifaddrs *) (sctp_ifn))->i…
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dmeson.build57 if cc.compiles('''#include <ifaddrs.h>
61 struct ifaddrs *ifaddr;
Dgst-ptp-helper.c281 struct ifaddrs *ifaddr, *ifa; in setup_sockets()
370 struct ifaddrs *ifaddr, *ifa; in setup_sockets()
/third_party/rust/crates/libc/src/unix/bsd/
Dmod.rs47 pub struct ifaddrs {
48 pub ifa_next: *mut ifaddrs,
628 pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int; in getifaddrs()
629 pub fn freeifaddrs(ifa: *mut ::ifaddrs); in freeifaddrs() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_bsd.c626 struct ifaddrs *ifaddrs, *ifa; in bsd_route_overflow() local
637 if (getifaddrs(&ifaddrs) == -1) { in bsd_route_overflow()
644 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in bsd_route_overflow()
680 for (ifa = ifaddrs; ifa != NULL; ifa = ifa->ifa_next) { in bsd_route_overflow()
718 freeifaddrs(ifaddrs); in bsd_route_overflow()
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c295 struct ifaddrs *ifr; in lws_interface_to_sa()
296 struct ifaddrs *ifc; in lws_interface_to_sa()

123