Home
last modified time | relevance | path

Searched refs:getifaddrs (Results 1 - 25 of 40) sorted by relevance

12

/third_party/rust/crates/nix/src/
H A Difaddrs.rs3 //! Uses the Linux and/or BSD specific function `getifaddrs` to query the list
18 /// Describes a single address for an interface as returned by `getifaddrs`.
113 /// Holds the results of `getifaddrs`.
115 /// Use the function `getifaddrs` to create this Iterator. Note that the
143 /// Get interface addresses using libc's `getifaddrs`
154 /// let addrs = nix::ifaddrs::getifaddrs().unwrap();
168 pub fn getifaddrs() -> Result<InterfaceAddressIterator> { in getifaddrs() functions
171 Errno::result(libc::getifaddrs(addrs.as_mut_ptr())).map(|_| { in getifaddrs()
184 // Only checks if `getifaddrs` can be invoked without panicking.
187 let _ = getifaddrs(); in test_getifaddrs()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/network/network_gtest/
H A Dnet_if_test.cpp22 ASSERT_NE(-1, getifaddrs(&ifAddr)); in HWTEST_F()
37 ASSERT_NE(-1, getifaddrs(&ifAddr)); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dgetifaddrs.c27 int ret = getifaddrs(&ifaddr); in getifaddrs_0100()
H A Dfreeifaddrs.c34 int result = getifaddrs(&addrs); in freeifaddrs_0100()
36 t_error("%s getifaddrs failed\n", __func__); in freeifaddrs_0100()
/third_party/libwebsockets/lib/misc/
H A Dgetifaddrs.h71 int getifaddrs(struct ifaddrs **);
H A Dgetifaddrs.c35 * http://ftp.uninett.no/pub/OpenBSD/src/kerberosV/src/lib/roken/getifaddrs.c
62 #include "getifaddrs.h"
144 *end = lws_malloc(sizeof(**end), "getifaddrs"); in getifaddrs2()
149 (*end)->ifa_addr = lws_malloc(salen, "getifaddrs"); in getifaddrs2()
157 lws_malloc(sizeof(ifr->ifr_broadaddr), "getifaddrs"); in getifaddrs2()
162 lws_malloc(sizeof(ifr->ifr_dstaddr), "getifaddrs"); in getifaddrs2()
189 getifaddrs(struct ifaddrs **ifap) in getifaddrs() function
272 getifaddrs(&b); in main()
/third_party/musl/porting/uniproton/kernel/include/
H A Difaddrs.h28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Difaddrs.h28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_m/kernel/include/
H A Difaddrs.h28 int getifaddrs(struct ifaddrs **);
/third_party/musl/porting/liteos_a/kernel/include/
H A Difaddrs.h28 int getifaddrs(struct ifaddrs **);
/third_party/musl/include/
H A Difaddrs.h28 int getifaddrs(struct ifaddrs **);
/third_party/libwebsockets/contrib/
H A DAndroid.mk21 $(LWS_LIB_PATH)/getifaddrs.c \
/third_party/libuv/src/unix/
H A Dbsd-ifaddrs.c55 * On BSD getifaddrs returns information related to the raw underlying in uv__ifaddr_exclude()
79 if (getifaddrs(&addrs) != 0) in uv_interface_addresses()
H A Dtcp.c250 if (getifaddrs(&ifa)) in uv__ipv6_link_local_scope_id()
H A Dsunos.c833 if (getifaddrs(&addrs)) in uv_interface_addresses()
/third_party/node/deps/uv/src/unix/
H A Dbsd-ifaddrs.c55 * On BSD getifaddrs returns information related to the raw underlying in uv__ifaddr_exclude()
79 if (getifaddrs(&addrs) != 0) in uv_interface_addresses()
/third_party/curl/lib/
H A Dif2ip.c115 if(getifaddrs(&head) >= 0) { in Curl_if2ip()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-sockets.c214 getifaddrs(&ifr); in lws_interface_to_sa()
/third_party/musl/src/network/
H A Dgetifaddrs.c18 /* getifaddrs() reports hardware addresses with PF_PACKET that implies
269 int getifaddrs(struct ifaddrs **ifap) in getifaddrs() function
/third_party/toybox/porting/liteos_a/toys/net/
H A Dping.c122 else if (getifaddrs(&ifa2)) perror_exit("getifaddrs"); in ping_main()
/third_party/toybox/toys/net/
H A Dping.c142 else if (getifaddrs(&ifa2)) perror_exit("getifaddrs"); in ping_main()
/third_party/musl/src/network/liteos_a/
H A Dgetifaddrs.c17 /* getifaddrs() reports hardware addresses with PF_PACKET that implies
237 int getifaddrs(struct ifaddrs **ifap) in getifaddrs() function
/third_party/musl/porting/liteos_a/user/src/network/
H A Dgetifaddrs.c17 /* getifaddrs() reports hardware addresses with PF_PACKET that implies
237 int getifaddrs(struct ifaddrs **ifap) in getifaddrs() function
/third_party/node/deps/cares/src/lib/
H A Dares__iface_ips.c444 if (getifaddrs(&ifap) != 0) { in ares__iface_ips_enumerate()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-sockets.c310 if (getifaddrs(&ifr)) { in lws_interface_to_sa()
311 lwsl_err("%s: unable to getifaddrs: errno %d\n", __func__, errno); in lws_interface_to_sa()

Completed in 10 milliseconds

12