Searched refs:ifr2 (Results 1 – 1 of 1) sorted by relevance
929 struct ifreq *ifr, ifreq, *ifr2; in foreach_localaddr() local988 for (j = 0; j < i; j += ifreq_size(*ifr2)) { in foreach_localaddr()989 ifr2 = (struct ifreq *)((caddr_t) buf+j); in foreach_localaddr()990 if (ifr2->ifr_name[0] == '\0') in foreach_localaddr()992 if (ifr2->ifr_addr.sa_family == ifr->ifr_addr.sa_family in foreach_localaddr()993 && ifreq_size (*ifr) == ifreq_size (*ifr2) in foreach_localaddr()998 && !memcmp (&ifr2->ifr_addr.sa_data, &ifr->ifr_addr.sa_data, in foreach_localaddr()