Lines Matching refs:ifc
478 struct ifconf ifc;
483 ifc.ifc_buf = NULL;
494 ifc.ifc_len = sizeof(struct ifreq) * numreqs;
495 ifc.ifc_buf = xrealloc(ifc.ifc_buf, ifc.ifc_len);
497 if (ioctl_or_warn(skfd, SIOCGIFCONF, &ifc) < 0) {
500 if (ifc.ifc_len == sizeof(struct ifreq) * numreqs) {
508 ifr = ifc.ifc_req;
509 for (n = 0; n < ifc.ifc_len; n += sizeof(struct ifreq)) {
517 free(ifc.ifc_buf);