Home
last modified time | relevance | path

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

/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/libcups/cups/
Dgetifaddrs.c131 temp->ifa_name = strdup(ifp->ifr_name); in _cups_getifaddrs()
221 if (addrs->ifa_name) in _cups_freeifaddrs()
223 free(addrs->ifa_name); in _cups_freeifaddrs()
224 addrs->ifa_name = NULL; in _cups_freeifaddrs()
Dhttp-private.h396 char *ifa_name; /* Name of interface */ member
/external/libpcap/
Dfad-getad.c187 p = strchr(ifa->ifa_name, ':'); in pcap_findalldevs_interfaces()
208 if (!(*check_usable)(ifa->ifa_name)) { in pcap_findalldevs_interfaces()
267 if (add_addr_to_if(devlistp, ifa->ifa_name, ifa->ifa_flags, in pcap_findalldevs_interfaces()
/external/webrtc/webrtc/base/
Difaddrs-android.cc45 ifaddr->ifa_name = new char[strlen(name) + 1]; in set_ifname()
46 strncpy(ifaddr->ifa_name, name, strlen(name) + 1); in set_ifname()
57 strncpy(ifr.ifr_name, ifaddr->ifa_name, IFNAMSIZ - 1); in set_flags()
213 delete[] cursor->ifa_name; in freeifaddrs()
Difaddrs-android.h24 char* ifa_name; member
Dnetwork.cc437 std::string key = MakeNetworkKey(std::string(cursor->ifa_name), in ConvertIfAddrs()
447 if (strncmp(cursor->ifa_name, "pdp_ip", 6) == 0) { in ConvertIfAddrs()
452 scoped_ptr<Network> network(new Network(cursor->ifa_name, in ConvertIfAddrs()
453 cursor->ifa_name, prefix, in ConvertIfAddrs()
Dmacifaddrs_converter.cc260 interface->ifa_name, interface->ifa_addr, &native_attributes)) { in ConvertNativeAttributesToIPAttributes()
Dnetwork_unittest.cc119 if_addr->ifa_name = if_name; in AddIpv6Address()
709 list.ifa_name = const_cast<char*>("test_iface"); in TEST_F()
739 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/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()
167 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
/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/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()
Dping.c407 if (!strncmp(ifa->ifa_name, device, sizeof(device) - 1) && in main()
Dping6.c1018 if (!strncmp(ifa->ifa_name, device, sizeof(device) - 1) && in main()
/external/toybox/toys/net/
Dping.c134 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h296 char *ifa_name; member
Dsanitizer_platform_limits_posix.cc1167 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_name);
Dsanitizer_common_interceptors.inc4673 if (p->ifa_name)
4674 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, p->ifa_name,
4675 REAL(strlen)(p->ifa_name) + 1);