/external/grpc-grpc/src/core/lib/iomgr/ |
D | tcp_server_utils_posix_ifaddrs.cc | 118 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); in grpc_tcp_server_add_all_local_addrs() 144 ifa_name); in grpc_tcp_server_add_all_local_addrs()
|
/external/rust/crates/grpcio-sys/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()
|
/external/libcups/cups/ |
D | getifaddrs.c | 128 temp->ifa_name = strdup(ifp->ifr_name); in _cups_getifaddrs() 218 if (addrs->ifa_name) in _cups_freeifaddrs() 220 free(addrs->ifa_name); in _cups_freeifaddrs() 221 addrs->ifa_name = NULL; in _cups_freeifaddrs()
|
D | getifaddrs-internal.h | 78 char *ifa_name; /* Name of interface */ member
|
/external/libpcap/ |
D | fad-getad.c | 186 p = strchr(ifa->ifa_name, ':'); in pcap_findalldevs_interfaces() 207 if (!(*check_usable)(ifa->ifa_name)) { in pcap_findalldevs_interfaces() 266 if (add_addr_to_if(devlistp, ifa->ifa_name, ifa->ifa_flags, in pcap_findalldevs_interfaces()
|
/external/webrtc/rtc_base/ |
D | ifaddrs_android.cc | 46 ifaddr->ifa_name = new char[strlen(name) + 1]; in set_ifname() 47 strncpy(ifaddr->ifa_name, name, strlen(name) + 1); in set_ifname() 58 strncpy(ifr.ifr_name, ifaddr->ifa_name, IFNAMSIZ - 1); in set_flags() 218 delete[] cursor->ifa_name; in freeifaddrs()
|
D | ifaddrs_android.h | 23 char* ifa_name; member
|
D | network.cc | 541 adapter_type = network_monitor_->GetAdapterType(cursor->ifa_name); in ConvertIfAddrs() 544 adapter_type = GetAdapterTypeFromName(cursor->ifa_name); in ConvertIfAddrs() 550 network_monitor_->GetVpnUnderlyingAdapterType(cursor->ifa_name); in ConvertIfAddrs() 555 MakeNetworkKey(std::string(cursor->ifa_name), prefix, prefix_length); in ConvertIfAddrs() 560 new Network(cursor->ifa_name, cursor->ifa_name, prefix, prefix_length, in ConvertIfAddrs()
|
D | mac_ifaddrs_converter.cc | 261 interface->ifa_name, interface->ifa_addr, &native_attributes)) { in ConvertNativeAttributesToIPAttributes()
|
D | network_unittest.cc | 166 if_addr->ifa_name = if_name; in AddIpv6Address() 208 if_addr->ifa_name = if_name; in AddIpv4Address() 752 list.ifa_name = const_cast<char*>("test_iface"); in TEST_F() 782 list.ifa_name = const_cast<char*>("test_iface"); in TEST_F()
|
/external/compiler-rt/test/msan/ |
D | ifaddrs.cc | 42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
|
/external/llvm-project/compiler-rt/test/msan/ |
D | ifaddrs.cpp | 42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
|
/external/libcups/scheduler/ |
D | network.c | 142 addr->ifa_netmask == NULL || addr->ifa_name == NULL) in cupsdNetIFUpdate() 144 cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Ignoring \"%s\".", addr->ifa_name); in cupsdNetIFUpdate() 185 strlcpy(temp->name, addr->ifa_name, sizeof(temp->name)); in cupsdNetIFUpdate()
|
/external/libwebsockets/lib/misc/ |
D | getifaddrs.c | 143 (*end)->ifa_name = strdup(ifr->ifr_name); in getifaddrs2() 213 lws_free(p->ifa_name); in freeifaddrs() 248 printf("%s\n", p->ifa_name); in print_ifaddrs()
|
D | getifaddrs.h | 59 char *ifa_name; member
|
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 111 char ifa_name[16]; member 260 memcpy(i->ifa_name, ifr.ifr_name, 16); in getifaddrs() 367 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { in grab_myaddrs() 370 ifap->ifa_name, in grab_myaddrs() 403 if_nametoindex(ifap->ifa_name); in grab_myaddrs() 416 addr1, ifap->ifa_name); in grab_myaddrs()
|
/external/curl/lib/ |
D | if2ip.c | 119 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip() 170 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
|
/external/openscreen/platform/impl/ |
D | network_interface_mac.cc | 82 const std::string name = cur->ifa_name; in ProcessInterfacesList() 118 results.emplace_back(if_nametoindex(cur->ifa_name), in ProcessInterfacesList()
|
/external/libwebsockets/lib/plat/freertos/ |
D | freertos-sockets.c | 154 lwsl_info(" interface %s vs %s\n", ifc->ifa_name, ifname); in lws_interface_to_sa() 156 if (strcmp(ifc->ifa_name, ifname)) in lws_interface_to_sa()
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 2492 p->ifa_name ? p->ifa_name : "<null>", p->ifa_extra.index, p->ifa_addr ); in SetupInterfaceList() 2547 p->ifa_name ? p->ifa_name : "<null>", p->ifa_extra.index, p->ifa_addr ); in SetupInterfaceList() 2606 …loopbackv4->ifa_name ? loopbackv4->ifa_name : "<null>", loopbackv4->ifa_extra.index, loopbackv4->i… in SetupInterfaceList() 2636 …loopbackv6->ifa_name ? loopbackv6->ifa_name : "<null>", loopbackv6->ifa_extra.index, loopbackv6->i… in SetupInterfaceList() 2753 check( strlen( inIFA->ifa_name ) < sizeof( ifd->name ) ); in SetupInterface() 2754 strncpy( ifd->name, inIFA->ifa_name, sizeof( ifd->name ) - 1 ); in SetupInterface() 2757 strncpy(ifd->interfaceInfo.ifname, inIFA->ifa_name, sizeof(ifd->interfaceInfo.ifname)); in SetupInterface() 3672 ifa->ifa_name = (char *) malloc( size ); in getifaddrs_ipv6() 3673 require_action( ifa->ifa_name, exit, err = WSAENOBUFS ); in getifaddrs_ipv6() 3674 memcpy( ifa->ifa_name, iaa->AdapterName, size ); in getifaddrs_ipv6() [all …]
|
D | mDNSWin32.h | 171 char * ifa_name; member
|
/external/rust/crates/nix/src/ |
D | ifaddrs.rs | 48 let ifname = unsafe { ffi::CStr::from_ptr(info.ifa_name) }; in from_libc_ifaddrs()
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 202 ifc->ifa_name, ifname, in lws_interface_to_sa() 205 if (strcmp(ifc->ifa_name, ifname)) in lws_interface_to_sa()
|
/external/iputils/ |
D | arping.c | 612 if (device.name && ifa->ifa_name && strcmp(ifa->ifa_name, device.name)) in find_device_by_ifaddrs() 630 device.ifindex = if_nametoindex(device.ifa->ifa_name); in find_device_by_ifaddrs() 636 device.name = device.ifa->ifa_name; in find_device_by_ifaddrs()
|
/external/usrsctp/usrsctplib/ |
D | user_recv_thread.c | 107 if (index == if_nametoindex(ifa->ifa_name)) { in sctp_handle_ifamsg() 120 if_nametoindex(ifa->ifa_name), in sctp_handle_ifamsg() 122 ifa->ifa_name, in sctp_handle_ifamsg() 129 if_nametoindex(ifa->ifa_name), in sctp_handle_ifamsg() 130 ifa->ifa_name); in sctp_handle_ifamsg()
|