/external/dhcpcd-6.8.2/ |
ifaddrs.h | 17 char *ifa_name; member in struct:ifaddrs
|
ifaddrs.c | 56 ifa->ifa_name = malloc(strlen(name)+1); 57 if (!ifa->ifa_name) { 61 strcpy(ifa->ifa_name, name); 87 ifc_get_ifindex(ifa->ifa_name, &hwaddr->sll_ifindex); 142 free(ifp->ifa_name);
|
if.c | 208 if ((ifp = if_find(ifs, ifa->ifa_name)) == NULL) 223 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, 242 ifa->ifa_name, 316 if (strcmp(ifp->name, ifa->ifa_name) == 0) 338 if (strcmp(ifn, ifa->ifa_name) == 0) 344 strlcpy(ifn, ifa->ifa_name, sizeof(ifn)); 346 strlcpy(alias, ifa->ifa_name, sizeof(alias)); 351 if (argc == -1 && strcmp(argv[0], ifa->ifa_name) != 0) 573 __func__, ifa->ifa_name);
|
/external/compiler-rt/test/msan/ |
ifaddrs.cc | 42 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1);
|
/bionic/tests/ |
ifaddrs_test.cpp | 49 if (addr->ifa_name && strcmp(addr->ifa_name, "lo") == 0) { 87 ifaddrs_socks.push_back(std::string(addr->ifa_name)); 144 if (addr->ifa_name && addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { 146 inet_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); 148 if (addr->ifa_name && addr->ifa_broadaddr && addr->ifa_broadaddr->sa_family == AF_INET) { 150 broad_addrs[addr->ifa_name].insert(sock->sin_addr.s_addr); 233 ifa->ifa_name, FamilyToName(family), family,
|
net_if_test.cpp | 62 getifaddrs_names.insert(it->ifa_name);
|
/external/webrtc/webrtc/base/ |
ifaddrs-android.cc | 45 ifaddr->ifa_name = new char[strlen(name) + 1]; 46 strncpy(ifaddr->ifa_name, name, strlen(name) + 1); 57 strncpy(ifr.ifr_name, ifaddr->ifa_name, IFNAMSIZ - 1); 213 delete[] cursor->ifa_name;
|
ifaddrs-android.h | 24 char* ifa_name; member in struct:ifaddrs
|
macifaddrs_converter.cc | 260 interface->ifa_name, interface->ifa_addr, &native_attributes)) {
|
network.cc | 437 std::string key = MakeNetworkKey(std::string(cursor->ifa_name), 447 if (strncmp(cursor->ifa_name, "pdp_ip", 6) == 0) { 452 scoped_ptr<Network> network(new Network(cursor->ifa_name, 453 cursor->ifa_name, prefix,
|
network_unittest.cc | 119 if_addr->ifa_name = if_name; 709 list.ifa_name = const_cast<char*>("test_iface"); 739 list.ifa_name = const_cast<char*>("test_iface"); [all...] |
/bionic/libc/include/ |
ifaddrs.h | 40 char* ifa_name; member in struct:ifaddrs
|
/external/curl/lib/ |
if2ip.c | 105 if(curl_strequal(iface->ifa_name, interf)) { 135 if(curl_strequal(iface->ifa_name, interf)) { 183 curl_strequal(iface->ifa_name, interf)) {
|
/external/toybox/toys/pending/ |
ping.c | 86 if (!strcmp(ifa->ifa_name, TT.iface)) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
ifaddrs.h | 34 char *ifa_name; /* Name of this network interface. */ member in struct:ifaddrs
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
ifaddrs.h | 34 char *ifa_name; /* Name of this network interface. */ member in struct:ifaddrs
|
/external/ipsec-tools/src/racoon/ |
grabmyaddr.c | 107 char ifa_name[16]; member in struct:ifaddrs 256 memcpy(i->ifa_name, ifr.ifr_name, 16); 363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { 366 ifap->ifa_name, 399 if_nametoindex(ifap->ifa_name); 412 addr1, ifap->ifa_name);
|
/bionic/libc/bionic/ |
ifaddrs.cpp | 188 new_addr->ifa.ifa_name = new_addr->name; 208 new_addr->ifa.ifa_name = new_addr->name;
|
/external/libpcap/ |
fad-getad.c | 236 p = strchr(ifa->ifa_name, ':'); 257 if (add_addr_to_iflist(&devlist, ifa->ifa_name,
|
/external/iputils/ |
arping.c | 612 if (device.name && ifa->ifa_name && strcmp(ifa->ifa_name, device.name)) 630 device.ifindex = if_nametoindex(device.ifa->ifa_name); 636 device.name = device.ifa->ifa_name;
|
ping.c | 407 if (!strncmp(ifa->ifa_name, device, sizeof(device) - 1) && [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_platform_limits_posix.h | 292 char *ifa_name; member in struct:__sanitizer::__sanitizer_ifaddrs [all...] |
sanitizer_platform_limits_posix.cc | [all...] |
/libcore/ojluni/src/main/native/ |
NetworkInterface.c | 773 strncpy(name, ifa->ifa_name, sizeof(name));
|
/system/netd/tests/ |
binder_test.cpp | 522 if (std::string(addr->ifa_name) != ifname ||
|