Lines Matching defs:ifap
336 struct ifaddrs *ifa0, *ifap;
352 for (ifap = ifa0; ifap; ifap = ifap->ifa_next) {
353 if (! ifap->ifa_addr)
356 if (ifap->ifa_addr->sa_family != AF_INET
358 && ifap->ifa_addr->sa_family != AF_INET6
363 if (!suitable_ifaddr(ifap->ifa_name, ifap->ifa_addr)) {
366 ifap->ifa_name,
367 saddrwop2str(ifap->ifa_addr));
376 p->addr = dupsaddr(ifap->ifa_addr);
383 if (ifap->ifa_addr->sa_family == AF_INET6) {
394 if (ifap->ifa_addr->sa_family == AF_INET6) {
399 if_nametoindex(ifap->ifa_name);
412 addr1, ifap->ifa_name);