/third_party/musl/porting/liteos_a/user/src/network/ |
D | getifaddrs.c | 54 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/ |
D | tcp_server_utils_posix_ifaddrs.cc | 120 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/ |
D | getifaddrs.c | 139 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/ |
D | freeifaddrs.c | 43 if (addr->ifa_name && strcmp(addr->ifa_name, "lo") == 0) { in freeifaddrs_0100()
|
/third_party/libwebsockets/lib/misc/ |
D | getifaddrs.c | 147 (*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()
|
D | getifaddrs.h | 59 char *ifa_name; member
|
/third_party/libuv/src/unix/ |
D | bsd-ifaddrs.c | 108 address->name = uv__strdup(ent->ifa_name); in uv_interface_addresses() 138 if (strcmp(address->name, ent->ifa_name) == 0) { in uv_interface_addresses()
|
D | linux-core.c | 678 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()
|
D | ibmi.c | 434 address->name = uv__strdup(cur->ifa_name); in uv_interface_addresses()
|
/third_party/curl/lib/ |
D | if2ip.c | 119 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/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/musl/ndk_musl_include/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/musl/include/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | ifaddrs.h | 14 char *ifa_name; member
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-sockets.c | 219 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/ |
D | unix-sockets.c | 310 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/ |
D | user_recv_thread.c | 110 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/ |
D | gst-ptp-helper.c | 295 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/ |
D | ping.c | 134 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
|
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_bsd_addr.c | 464 if_nametoindex(ifa->ifa_name), 466 ifa->ifa_name,
|
D | sctp_os_userspace.h | 341 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/ |
D | ping.c | 138 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
|
/third_party/mindspore/mindspore/ccsrc/ps/core/ |
D | comm_util.cc | 91 *interface = ifa->ifa_name; in GetAvailableInterfaceAndIP()
|