SIOCGIFCOUNT
case SIOCGIFCOUNT:
CODE(SIOCGIFCOUNT) /* count interfaces */
case SIOCGIFCOUNT:
IOCTL_INFO_ENTRY_TYPE(SIOCGIFCOUNT, struct ifconf *),
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) != 0)
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket.Get(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)
if (ioctl(socket.FD(), SIOCGIFCOUNT, &config, sizeof(struct ifconf)) < 0)