Home
last modified time | relevance | path

Searched refs:ifc_buf (Results 1 – 5 of 5) sorted by relevance

/glibc-2.36/sysdeps/unix/sysv/linux/
Difreq.c39 ifc.ifc_buf = NULL; in __ifreq()
43 ifc.ifc_buf = NULL; in __ifreq()
52 void *newp = realloc (ifc.ifc_buf, ifc.ifc_len); in __ifreq()
54 || (ifc.ifc_buf = newp, __ioctl (fd, SIOCGIFCONF, &ifc)) < 0) in __ifreq()
56 free (ifc.ifc_buf); in __ifreq()
72 *ifreqs = realloc (ifc.ifc_buf, nifs * sizeof (struct ifreq)); in __ifreq()
/glibc-2.36/sysdeps/unix/
Difreq.c39 ifc.ifc_buf = NULL; in __ifreq()
44 void *newp = realloc (ifc.ifc_buf, ifc.ifc_len); in __ifreq()
47 free (ifc.ifc_buf); in __ifreq()
55 ifc.ifc_buf = newp; in __ifreq()
65 while ((char *) ifr < ifc.ifc_buf + ifc.ifc_len) in __ifreq()
77 *ifreqs = realloc (ifc.ifc_buf, nifs * sizeof (struct ifreq)); in __ifreq()
/glibc-2.36/sysdeps/mach/hurd/
Dif_index.c92 ifc.ifc_buf = data; in weak_alias()
103 err = __pfinet_siocgifconf (server, -1, &ifc.ifc_buf, &len); in weak_alias()
111 err = __pfinet_siocgifconf (server, -1, &ifc.ifc_buf, &len); in weak_alias()
156 if (data != ifc.ifc_buf) in weak_alias()
157 __vm_deallocate (__mach_task_self (), (vm_address_t) ifc.ifc_buf, in weak_alias()
/glibc-2.36/hurd/
Dhurdioctl.c315 char *data = ifc->ifc_buf; in siocgifconf()
324 if (data != ifc->ifc_buf) in siocgifconf()
326 memcpy (ifc->ifc_buf, data, ifc->ifc_len); in siocgifconf()
/glibc-2.36/sysdeps/gnu/net/
Dif.h185 # define ifc_buf ifc_ifcu.ifcu_buf /* Buffer address. */ macro