Lines Matching full:iflr
344 struct if_laddrreq iflr;
350 memset(&iflr, 0, sizeof(iflr));
443 strlcpy(iflr.iflr_name, ifp->name,
444 sizeof(iflr.iflr_name));
445 memcpy(&iflr.addr, ifa->ifa_addr,
446 MIN(ifa->ifa_addr->sa_len, sizeof(iflr.addr)));
447 iflr.flags = IFLR_PREFIX;
448 iflr.prefixlen = sdl->sdl_alen * NBBY;
449 if (ioctl(socket_aflink, SIOCGLIFADDR, &iflr) == -1 ||
450 !(iflr.flags & IFLR_ACTIVE))