Searched refs:numifs (Results 1 – 1 of 1) sorted by relevance
1109 int numifs; in initifs() local1118 if (ioctl(sock, SIOCGIFNUM, (char *)&numifs) < 0) { in initifs()1119 numifs = MAXIFS; in initifs()1122 numifs = MAXIFS; in initifs()1124 bufsize = numifs * sizeof(struct ifreq); in initifs()1133 interfaces = (struct interface *)ALLIGN(malloc(numifs * in initifs()1141 interfaces_size = numifs; in initifs()