Searched refs:iflr (Results 1 – 1 of 1) sorted by relevance
274 struct if_laddrreq iflr; in if_discover() local289 memset(&iflr, 0, sizeof(iflr)); in if_discover()407 strlcpy(iflr.iflr_name, ifp->name, in if_discover()408 sizeof(iflr.iflr_name)); in if_discover()409 memcpy(&iflr.addr, ifa->ifa_addr, in if_discover()410 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr))); in if_discover()411 iflr.flags = IFLR_PREFIX; in if_discover()412 iflr.prefixlen = (unsigned int)sdl->sdl_alen * NBBY; in if_discover()413 if (ioctl(s_link, SIOCGLIFADDR, &iflr) == -1 || in if_discover()414 !(iflr.flags & IFLR_ACTIVE)) in if_discover()