Searched defs:lifc (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/isc/unix/
H A Difiter_ioctl.c58 struct LIFCONF lifc; member in struct:isc_interfaceiter
188 memset(&iter->lifc, 0, sizeof(iter->lifc));
190 iter->lifc.lifc_family = AF_INET6;
193 iter->lifc.lifc_flags = 0;
195 iter->lifc.lifc_len = iter->bufsize6;
196 iter->lifc.lifc_buf = iter->buf6;
202 if (ioctl(iter->socket6, SIOCGLIFCONF, (char *)&iter->lifc)
249 if (iter->lifc.lifc_len + 2 * sizeof(struct LIFREQ)
270 if (iter->lifc
[all...]
/bind-9.11.3/lib/lwres/
H A Dgetipnode.c525 struct LIFCONF lifc; local
553 lifc.lifc_family = AF_UNSPEC; /* request all families */
556 lifc.lifc_flags = 0;
558 lifc.lifc_len = bufsiz;
559 lifc.lifc_buf = buf;
560 if ((n = ioctl(s, SIOCGLIFCONF, (char *)&lifc)) != -1) {
565 * lifc.lifc_len is too near to the end of the
569 if (lifc.lifc_len + 2 * sizeof(lifreq) < bufsiz)
585 cplim = buf + lifc.lifc_len; /* skip over if's with big ifr_addr's */

Completed in 11 milliseconds