Lines Matching defs:lifc
256 struct lifconf lifc;
275 memset(&lifc, 0, sizeof(lifc));
276 lifc.lifc_family = AF_UNSPEC; /* XXX Why??? */
277 lifc.lifc_len = vstring_avail(buf);
278 lifc.lifc_buf = vstring_str(buf);
279 if (ioctl(sock, SIOCGLIFCONF, (char *) &lifc) < 0) {
282 } else if (lifc.lifc_len < vstring_avail(buf) / 2)
287 the_end = (struct lifreq *) (lifc.lifc_buf + lifc.lifc_len);
288 for (lifr = lifc.lifc_req; lifr < the_end;) {