Searched refs:ifr_ifindex (Results 1 – 2 of 2) sorted by relevance
51 ifreq ifr = {.ifr_ifindex = static_cast<int>(ifindex)}; in if_indextoname()63 return (ioctl(s.get(), SIOCGIFINDEX, &ifr) == -1) ? 0 : ifr.ifr_ifindex; in if_nametoindex()
166 #define ifr_ifindex ifr_ifru.ifru_ivalue macro