Home
last modified time | relevance | path

Searched refs:ifa_name (Results 1 – 25 of 28) sorted by relevance

12

/third_party/musl/porting/liteos_a/user/src/network/
Dgetifaddrs.c54 if (!ifp->ifa_name) in freeifaddrs()
148 ifs->ifa.ifa_name = ifs->name; in netlink_msg_to_ifaddr()
163 if (ifs->ifa.ifa_name) { in netlink_msg_to_ifaddr()
169 ifs->ifa.ifa_name = ifs0->ifa.ifa_name; in netlink_msg_to_ifaddr()
197 ifs->ifa.ifa_name = ifs->name; in netlink_msg_to_ifaddr()
206 if (ifs->ifa.ifa_name) { in netlink_msg_to_ifaddr()
223 ifa->ifa_name = malloc(sizeof(char) *(IF_NAMESIZE + 1)); in ifaddrs_init()
227 if (!ifa->ifa_name || !ifa->ifa_addr || !ifa->ifa_netmask) { in ifaddrs_init()
228 free(ifa->ifa_name); in ifaddrs_init()
268 memcpy(ifa->ifa_name, ifr[i].ifr_name, IF_NAMESIZE); in getifaddrs()
[all …]
/third_party/grpc/src/core/lib/iomgr/
Dtcp_server_utils_posix_ifaddrs.cc120 const char* ifa_name = (ifa_it->ifa_name ? ifa_it->ifa_name : "<unknown>"); in grpc_tcp_server_add_all_local_addrs() local
139 ifa_name, ifa_it->ifa_flags, addr_str.c_str()); in grpc_tcp_server_add_all_local_addrs()
144 addr_str.c_str(), ifa_name); in grpc_tcp_server_add_all_local_addrs()
/third_party/musl/src/network/
Dgetifaddrs.c139 ifs->ifa.ifa_name = ifs->name; in netlink_msg_to_ifaddr()
154 if (ifs->ifa.ifa_name) { in netlink_msg_to_ifaddr()
160 ifs->ifa.ifa_name = ifs0->ifa.ifa_name; in netlink_msg_to_ifaddr()
188 ifs->ifa.ifa_name = ifs->name; in netlink_msg_to_ifaddr()
197 if (ifs->ifa.ifa_name) { in netlink_msg_to_ifaddr()
/third_party/musl/libc-test/src/functionalext/supplement/network/
Dfreeifaddrs.c43 if (addr->ifa_name && strcmp(addr->ifa_name, "lo") == 0) { in freeifaddrs_0100()
/third_party/libwebsockets/lib/misc/
Dgetifaddrs.c147 (*end)->ifa_name = strdup(ifr->ifr_name); in getifaddrs2()
217 lws_free(p->ifa_name); in freeifaddrs()
252 printf("%s\n", p->ifa_name); in print_ifaddrs()
Dgetifaddrs.h59 char *ifa_name; member
/third_party/libuv/src/unix/
Dbsd-ifaddrs.c108 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
138 if (strcmp(address->name, ent->ifa_name) == 0) { in uv_interface_addresses()
Dlinux-core.c678 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses()
705 size_t namelen = strlen(ent->ifa_name); in uv_interface_addresses()
707 if (strncmp(address->name, ent->ifa_name, namelen) == 0 && in uv_interface_addresses()
Dibmi.c434 address->name = uv__strdup(cur->ifa_name); in uv_interface_addresses()
/third_party/curl/lib/
Dif2ip.c119 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
170 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
/third_party/musl/porting/liteos_a/kernel/include/
Difaddrs.h14 char *ifa_name; member
/third_party/musl/porting/uniproton/kernel/include/
Difaddrs.h14 char *ifa_name; member
/third_party/musl/ndk_musl_include/
Difaddrs.h14 char *ifa_name; member
/third_party/musl/include/
Difaddrs.h14 char *ifa_name; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Difaddrs.h14 char *ifa_name; member
/third_party/musl/porting/liteos_m/kernel/include/
Difaddrs.h14 char *ifa_name; member
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-sockets.c219 lwsl_info(" interface %s vs %s\n", ifc->ifa_name, ifname); in lws_interface_to_sa()
221 if (strcmp(ifc->ifa_name, ifname)) in lws_interface_to_sa()
/third_party/libwebsockets/lib/plat/unix/
Dunix-sockets.c310 if (!ifc->ifa_addr || !ifc->ifa_name) in lws_interface_to_sa()
314 ifc->ifa_name, ifname, in lws_interface_to_sa()
317 if (strcmp(ifc->ifa_name, ifname)) in lws_interface_to_sa()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c110 if (index == if_nametoindex(ifa->ifa_name)) { in sctp_handle_ifamsg()
123 if_nametoindex(ifa->ifa_name), in sctp_handle_ifamsg()
125 ifa->ifa_name, in sctp_handle_ifamsg()
132 if_nametoindex(ifa->ifa_name), in sctp_handle_ifamsg()
133 ifa->ifa_name); in sctp_handle_ifamsg()
/third_party/gstreamer/gstreamer/libs/gst/helpers/
Dgst-ptp-helper.c295 g_ptr_array_add (arr, g_strdup (ifa->ifa_name)); in setup_sockets()
388 if (strcmp (*p, ifa->ifa_name) == 0) { in setup_sockets()
/third_party/toybox/toys/net/
Dping.c134 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp_bsd_addr.c464 if_nametoindex(ifa->ifa_name),
466 ifa->ifa_name,
Dsctp_os_userspace.h341 char *ifa_name; member
885 …sctp_userspace_get_mtu_from_ifn(if_nametoindex(((struct ifaddrs *) (sctp_ifn))->ifa_name), AF_INET)
/third_party/toybox/porting/liteos_a/toys/net/
Dping.c138 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
/third_party/mindspore/mindspore/ccsrc/ps/core/
Dcomm_util.cc91 *interface = ifa->ifa_name; in GetAvailableInterfaceAndIP()

12