Searched refs:flifr (Results 1 – 1 of 1) sorted by relevance
196 struct lifreq flifr; in get_first_interface() local204 (void) strncpy(flifr.lifr_name, ifr->lifr_name, LIFNAMSIZ); in get_first_interface()206 if (ioctl(isv4 ? s4 : s6, SIOCGLIFFLAGS, &flifr) < 0) { in get_first_interface()212 if (!(flifr.lifr_flags & IFF_UP) || in get_first_interface()213 (flifr.lifr_flags & (IFF_VIRTUAL|IFF_POINTOPOINT))) in get_first_interface()241 *dhcpflag = (flifr.lifr_flags & IFF_DHCPRUNNING) != 0; in get_first_interface()