Searched refs:ifap (Results 1 – 5 of 5) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | grabmyaddr.c | 340 struct ifaddrs *ifa0, *ifap; in grab_myaddrs() local 356 for (ifap = ifa0; ifap; ifap = ifap->ifa_next) { in grab_myaddrs() 357 if (! ifap->ifa_addr) in grab_myaddrs() 360 if (ifap->ifa_addr->sa_family != AF_INET in grab_myaddrs() 362 && ifap->ifa_addr->sa_family != AF_INET6 in grab_myaddrs() 367 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) { in grab_myaddrs() 370 ifap->ifa_name, in grab_myaddrs() 371 saddrwop2str(ifap->ifa_addr)); in grab_myaddrs() 380 p->addr = dupsaddr(ifap->ifa_addr); in grab_myaddrs() 387 if (ifap->ifa_addr->sa_family == AF_INET6) { in grab_myaddrs() [all …]
|
/external/libpcap/ |
D | fad-getad.c | 150 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() 277 freeifaddrs(ifap); in pcap_findalldevs_interfaces()
|
/external/iputils/ninfod/ |
D | ni_ifaddrs.c | 313 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()
|
D | ni_ifaddrs.h | 41 int ni_ifaddrs(struct ni_ifaddrs **ifap, sa_family_t family);
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 4661 INTERCEPTOR(int, getifaddrs, __sanitizer_ifaddrs **ifap) { 4663 COMMON_INTERCEPTOR_ENTER(ctx, getifaddrs, ifap); 4667 int res = REAL(getifaddrs)(ifap); 4668 if (res == 0 && ifap) { 4669 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifap, sizeof(void *)); 4670 __sanitizer_ifaddrs *p = *ifap;
|