Home
last modified time | relevance | path

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

123

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_utils_posix_ifaddrs.cc118 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/
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()
/external/libcups/cups/
Dgetifaddrs.c128 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()
Dgetifaddrs-internal.h78 char *ifa_name; /* Name of interface */ member
/external/libpcap/
Dfad-getad.c186 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/
Difaddrs_android.cc46 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()
Difaddrs_android.h23 char* ifa_name; member
Dnetwork.cc541 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()
Dmac_ifaddrs_converter.cc261 interface->ifa_name, interface->ifa_addr, &native_attributes)) { in ConvertNativeAttributesToIPAttributes()
Dnetwork_unittest.cc166 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/
Difaddrs.cc42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
/external/llvm-project/compiler-rt/test/msan/
Difaddrs.cpp42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
/external/libcups/scheduler/
Dnetwork.c142 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/
Dgetifaddrs.c143 (*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()
Dgetifaddrs.h59 char *ifa_name; member
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c111 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/
Dif2ip.c119 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
170 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
/external/openscreen/platform/impl/
Dnetwork_interface_mac.cc82 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/
Dfreertos-sockets.c154 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/
DmDNSWin32.c2492 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 …]
DmDNSWin32.h171 char * ifa_name; member
/external/rust/crates/nix/src/
Difaddrs.rs48 let ifname = unsafe { ffi::CStr::from_ptr(info.ifa_name) }; in from_libc_ifaddrs()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c202 ifc->ifa_name, ifname, in lws_interface_to_sa()
205 if (strcmp(ifc->ifa_name, ifname)) in lws_interface_to_sa()
/external/iputils/
Darping.c612 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/
Duser_recv_thread.c107 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()

123