Lines Matching full:ifc
60 struct ifconf ifc; member
142 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len)); in getbuf4()
143 iter->ifc.ifc_len = iter->bufsize; in getbuf4()
144 iter->ifc.ifc_buf = iter->buf; in getbuf4()
150 if (isc_ioctl(iter->socket, SIOCGIFCONF, (char *)&iter->ifc) in getbuf4()
172 * ifc.lifc_len is too near to the end of the in getbuf4()
176 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) in getbuf4()
273 * ifc.ifc_len is too near to the end of the in getbuf6()
464 if (iter->ifc.ifc_len == 0 || in internal_current4()
465 iter->pos == (unsigned int)iter->ifc.ifc_len) { in internal_current4()
473 INSIST( iter->pos < (unsigned int) iter->ifc.ifc_len); in internal_current4()
475 ifrp = (void *)((char *) iter->ifc.ifc_req + iter->pos); in internal_current4()
917 if (iter->pos < (unsigned int) iter->ifc.ifc_len) { in internal_next4()
919 ifrp = (struct ifreq *)((char *) iter->ifc.ifc_req + iter->pos); in internal_next4()
929 INSIST(iter->pos == (unsigned int) iter->ifc.ifc_len); in internal_next4()