Home
last modified time | relevance | path

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

/external/dhcpcd/
Difaddrs.c55 ifa->ifa_name = malloc(strlen(name)+1); in get_interface()
56 if (!ifa->ifa_name) { in get_interface()
60 strcpy(ifa->ifa_name, name); in get_interface()
140 free(ifp->ifa_name); in freeifaddrs()
Dnet.c374 if (strcmp(ifp->name, ifa->ifa_name) == 0) in discover_interfaces()
386 if (strcmp(ifn, ifa->ifa_name) == 0) in discover_interfaces()
389 if (strcmp(argv[i], ifa->ifa_name) == 0) in discover_interfaces()
400 if (argc == -1 && strcmp(argv[0], ifa->ifa_name) != 0) in discover_interfaces()
403 if (!fnmatch(ifdv[i], ifa->ifa_name, 0)) in discover_interfaces()
408 if (!fnmatch(ifav[i], ifa->ifa_name, 0)) in discover_interfaces()
412 p = ifa->ifa_name; in discover_interfaces()
548 strcmp(ifa->ifa_name, ifname) != 0) in do_address()
Difaddrs.h17 char *ifa_name; member
/external/compiler-rt/test/msan/
Difaddrs.cc38 CHECK_AND_PUSH(p->ifa_name, strlen(p->ifa_name) + 1); in main()
/external/libpcap/
Dfad-getad.c248 p = strchr(ifa->ifa_name, ':'); in pcap_findalldevs_interfaces()
269 if (add_addr_to_iflist(&devlist, ifa->ifa_name, in pcap_findalldevs_interfaces()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c107 char ifa_name[16]; member
256 memcpy(i->ifa_name, ifr.ifr_name, 16); in getifaddrs()
363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { in grab_myaddrs()
366 ifap->ifa_name, in grab_myaddrs()
399 if_nametoindex(ifap->ifa_name); in grab_myaddrs()
412 addr1, ifap->ifa_name); in grab_myaddrs()
/external/toybox/toys/pending/
Dping.c86 if (!strcmp(ifa->ifa_name, TT.iface)) {
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h280 char *ifa_name; member
Dsanitizer_platform_limits_posix.cc1106 CHECK_SIZE_AND_OFFSET(ifaddrs, ifa_name);
Dsanitizer_common_interceptors.inc4143 if (p->ifa_name)
4144 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, p->ifa_name,
4145 REAL(strlen)(p->ifa_name) + 1);