Lines Matching defs:ifconf
168 struct lifconf ifconf;
183 ifconf.lifc_family = AF_UNSPEC;
184 ifconf.lifc_flags = 0;
185 ifconf.lifc_len = ifnum.lifn_count * sizeof (struct lifreq);
186 ifconf.lifc_buf = alloca(ifconf.lifc_len);
188 if (ioctl(s4, SIOCGLIFCONF, &ifconf) < 0) {
194 for (ifr = ifconf.lifc_req; ifr < &ifconf.lifc_req[ifconf.lifc_len /
195 sizeof (ifconf.lifc_req[0])]; ifr++) {