Searched refs:SIOCGIFINDEX (Results 1 – 2 of 2) sorted by relevance
66 #define SIOCGIFINDEX 0x8933 macro67 #define SIOGIFINDEX SIOCGIFINDEX
63 return (ioctl(s.get(), SIOCGIFINDEX, &ifr) == -1) ? 0 : ifr.ifr_ifindex; in if_nametoindex()