ifconf
struct lifconf ifconf;
ifconf.lifc_family = af;
ifconf.lifc_flags = 0;
ifconf.lifc_len = buf_size;
ifconf.lifc_buf = buf;
if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
if (ifconf.lifc_len < buf_size)
for (p = ifconf.lifc_buf;
p < ifconf.lifc_buf + ifconf.lifc_len;
struct ifconf ifconf;
ifconf.ifc_len = buf_size;
ifconf.ifc_buf = buf;
if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
if (ifconf.ifc_len < buf_size)
for (p = ifconf.ifc_buf;
p < ifconf.ifc_buf + ifconf.ifc_len;
struct ifconf ifc;
struct ifconf ifc;
struct ifconf ifc;
#define GIFCONF_BUFSIZE (256 * sizeof (struct ifconf))
struct ifconf ifc;
struct ifconf ifc;
static struct ifconf ifconf; /* points to ifreq */
if (ifconf.ifc_len == 0) {
ifconf.ifc_len = ioc.ic_len;
ifconf.ifc_req = ifreq;
ifconf.ifc_len = sizeof(ifreq);
ifconf.ifc_req = ifreq;
m = ioctl(s, SIOCGIFCONF, (caddr_t) & ifconf);
if ((m < 0) || (ifconf.ifc_len <= 0)) {
len = ifconf.ifc_len;
struct ifconf ifc;
struct ifconf *ifc;
linux_ifconf(struct thread *td, struct ifconf *uifc)
struct ifconf ifc;
error = linux_ifconf(td, (struct ifconf *)args->arg);
static int ifconf(u_long, caddr_t);
struct ifconf ifc;
error = ifconf(cmd, data);
struct ifconf *ifc = (struct ifconf *)data;
#define SIOCGIFCONF _IOWR('i', 36, struct ifconf) /* get ifnet list */
struct ifconf ifc;