Searched refs:SIOCGIFNUM (Results 1 – 3 of 3) sorted by relevance
401 if (ioctl(fd, SIOCGIFNUM, (char *)&num_ifs) < 0) { in get_first_ethernet()2163 #ifdef SIOCGIFNUM2164 if (ioctl(ipfd, SIOCGIFNUM, &nif) < 0)2415 #ifdef SIOCGIFNUM2416 if (ioctl(ipfd, SIOCGIFNUM, &nif) < 0)
1117 #ifdef SIOCGIFNUM in initifs()1118 if (ioctl(sock, SIOCGIFNUM, (char *)&numifs) < 0) { in initifs()
835 SIOCGIFNUM = 0x40046957 const