Lines Matching refs:ifr
522 register struct lifreq *ifr;
529 register struct ifreq *ifr;
533 struct ifaddrs * ifap, *ifr;
565 #define IFR_IFR_ADDR ifr->lifr_addr
566 #define IFR_IFR_NAME ifr->lifr_name
575 #define IFR_IFR_ADDR ifr->ifr_addr
576 #define IFR_IFR_NAME ifr->ifr_name
584 for (cp = (char *) IFC_IFC_REQ; cp < cplim; cp += ifr_size (ifr))
586 ifr = (ifr_type *) cp;
669 broad_req = *ifr;
675 broad_req = *ifr;
689 broad_req = *ifr;
695 broad_req = *ifr;
716 for (ifr = ifap; ifr != NULL; ifr = ifr->ifa_next) {
717 if (!ifr->ifa_addr)
719 len = sizeof(*(ifr->ifa_addr));
720 family = ConvertAddr((struct sockaddr *) ifr->ifa_addr, &len,
726 in6_fillscopeid((struct sockaddr_in6 *)ifr->ifa_addr);
759 if (ifr->ifa_flags & IFF_LOOPBACK)
787 if ((ifr->ifa_flags & IFF_BROADCAST) &&
788 (ifr->ifa_flags & IFF_UP) &&
789 ifr->ifa_broadaddr)
791 (struct sockaddr_in *) ifr->ifa_broadaddr);