Lines Matching refs:lifrl
96 struct lifreq lifrl; in getallifaddrs() local
130 (void) strncpy(lifrl.lifr_name, lifrp->lifr_name, in getallifaddrs()
131 sizeof (lifrl.lifr_name)); in getallifaddrs()
138 if (ioctl(s, SIOCGLIFFLAGS, (caddr_t)&lifrl) < 0) in getallifaddrs()
140 if ((flags & LIFC_ENABLED) && !(lifrl.lifr_flags & IFF_UP)) in getallifaddrs()
159 curr->ifa_flags = lifrl.lifr_flags; in getallifaddrs()
170 if (ioctl(s, SIOCGLIFNETMASK, (caddr_t)&lifrl) < 0) in getallifaddrs()
175 (void) memcpy(curr->ifa_netmask, &lifrl.lifr_addr, in getallifaddrs()
180 if (ioctl(s, SIOCGLIFDSTADDR, (caddr_t)&lifrl) < 0) in getallifaddrs()
186 (void) memcpy(curr->ifa_dstaddr, &lifrl.lifr_addr, in getallifaddrs()
189 if (ioctl(s, SIOCGLIFBRDADDR, (caddr_t)&lifrl) < 0) in getallifaddrs()
195 (void) memcpy(curr->ifa_broadaddr, &lifrl.lifr_addr, in getallifaddrs()