Home
last modified time | relevance | path

Searched refs:ifap (Results 1 – 8 of 8) sorted by relevance

/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c336 struct ifaddrs *ifa0, *ifap; in grab_myaddrs() local
352 for (ifap = ifa0; ifap; ifap = ifap->ifa_next) { in grab_myaddrs()
353 if (! ifap->ifa_addr) in grab_myaddrs()
356 if (ifap->ifa_addr->sa_family != AF_INET in grab_myaddrs()
358 && ifap->ifa_addr->sa_family != AF_INET6 in grab_myaddrs()
363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { in grab_myaddrs()
366 ifap->ifa_name, in grab_myaddrs()
367 saddrwop2str(ifap->ifa_addr)); in grab_myaddrs()
376 p->addr = dupsaddr(ifap->ifa_addr); in grab_myaddrs()
383 if (ifap->ifa_addr->sa_family == AF_INET6) { in grab_myaddrs()
[all …]
/external/libpcap/
Dfad-getad.c150 struct ifaddrs *ifap, *ifa; in pcap_findalldevs_interfaces() local
170 if (getifaddrs(&ifap) != 0) { in pcap_findalldevs_interfaces()
175 for (ifa = ifap; ifa != NULL; ifa = ifa->ifa_next) { in pcap_findalldevs_interfaces()
266 freeifaddrs(ifap); in pcap_findalldevs_interfaces()
/external/dhcpcd-6.8.2/
Difaddrs.c99 int getifaddrs(struct ifaddrs **ifap) in getifaddrs() argument
106 if (!ifap) in getifaddrs()
108 *ifap = NULL; in getifaddrs()
130 *ifap = ifah; in getifaddrs()
Difaddrs.h30 extern int getifaddrs(struct ifaddrs **ifap);
Dconfigure482 struct ifaddrs *ifap;
483 return getifaddrs(&ifap);
/external/iputils/ninfod/
Dni_ifaddrs.c313 int ni_ifaddrs(struct ni_ifaddrs **ifap, sa_family_t family) in ni_ifaddrs() argument
332 if (ifap) in ni_ifaddrs()
333 *ifap = NULL; in ni_ifaddrs()
363 if (ifap != NULL) in ni_ifaddrs()
364 *ifap = ifa; in ni_ifaddrs()
524 if (ifap != NULL) in ni_ifaddrs()
525 *ifap = NULL; in ni_ifaddrs()
Dni_ifaddrs.h41 int ni_ifaddrs(struct ni_ifaddrs **ifap, sa_family_t family);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc4354 INTERCEPTOR(int, getifaddrs, __sanitizer_ifaddrs **ifap) {
4356 COMMON_INTERCEPTOR_ENTER(ctx, getifaddrs, ifap);
4360 int res = REAL(getifaddrs)(ifap);
4361 if (res == 0 && ifap) {
4362 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifap, sizeof(void *));
4363 __sanitizer_ifaddrs *p = *ifap;