/external/dhcpcd-6.8.2/ |
D | ifaddrs.c | 56 ifa->ifa_name = malloc(strlen(name)+1); in get_interface() 57 if (!ifa->ifa_name) { in get_interface() 61 strcpy(ifa->ifa_name, name); in get_interface() 87 ifc_get_ifindex(ifa->ifa_name, &hwaddr->sll_ifindex); in get_interface() 142 free(ifp->ifa_name); in freeifaddrs()
|
D | if.c | 208 if ((ifp = if_find(ifs, ifa->ifa_name)) == NULL) in if_learnaddrs1() 223 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, in if_learnaddrs1() 242 ifa->ifa_name, in if_learnaddrs1() 316 if (strcmp(ifp->name, ifa->ifa_name) == 0) in if_discover() 338 if (strcmp(ifn, ifa->ifa_name) == 0) in if_discover() 344 strlcpy(ifn, ifa->ifa_name, sizeof(ifn)); in if_discover() 346 strlcpy(alias, ifa->ifa_name, sizeof(alias)); in if_discover() 351 if (argc == -1 && strcmp(argv[0], ifa->ifa_name) != 0) in if_discover() 573 __func__, ifa->ifa_name); in if_discover()
|
D | ifaddrs.h | 17 char *ifa_name; member
|
/external/libpcap/ |
D | fad-getad.c | 188 p = strchr(ifa->ifa_name, ':'); in pcap_findalldevs_interfaces() 209 if (!(*check_usable)(ifa->ifa_name)) { in pcap_findalldevs_interfaces() 268 if (add_addr_to_iflist(&devlist, ifa->ifa_name, in pcap_findalldevs_interfaces() 269 if_flags_to_pcap_flags(ifa->ifa_name, ifa->ifa_flags), in pcap_findalldevs_interfaces()
|
/external/libcups/cups/ |
D | getifaddrs.c | 131 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()
|
D | http-private.h | 406 char *ifa_name; /* Name of interface */ member
|
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 45 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()
|
D | ifaddrs-android.h | 24 char* ifa_name; member
|
D | network.cc | 437 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()
|
D | macifaddrs_converter.cc | 260 interface->ifa_name, interface->ifa_addr, &native_attributes)) { in ConvertNativeAttributesToIPAttributes()
|
D | network_unittest.cc | 119 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/curl/lib/ |
D | if2ip.c | 107 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if_is_interface_name() 137 if(strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip() 185 strcasecompare(iface->ifa_name, interf)) { in Curl_if2ip()
|
/external/compiler-rt/test/msan/ |
D | ifaddrs.cc | 42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
|
/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/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/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()
|
D | ping.c | 407 if (!strncmp(ifa->ifa_name, device, sizeof(device) - 1) && in main()
|
D | ping6.c | 1018 if (!strncmp(ifa->ifa_name, device, sizeof(device) - 1) && in main()
|
/external/toybox/toys/pending/ |
D | ping.c | 139 || strcmp(ifa->ifa_name, TT.I)) continue; in ping_main()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_platform_limits_posix.h | 296 char *ifa_name; member
|
D | sanitizer_platform_limits_posix.cc | 1167 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_name);
|
D | sanitizer_common_interceptors.inc | 4673 if (p->ifa_name) 4674 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, p->ifa_name, 4675 REAL(strlen)(p->ifa_name) + 1);
|