Lines Matching defs:ifconf
878 struct ifconf ifconf;
899 ifconf.ifc_len = buf_size;
900 ifconf.ifc_buf = buf;
905 if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
914 if (ifconf.ifc_len < buf_size)
920 for (p = ifconf.ifc_buf;
921 p < ifconf.ifc_buf + ifconf.ifc_len;
1020 struct lifconf ifconf;
1042 ifconf.lifc_family = af;
1043 ifconf.lifc_flags = 0;
1045 ifconf.lifc_len = buf_size;
1046 ifconf.lifc_buf = buf;
1051 if (ioctl (fd, siocgifconf, &ifconf) < 0 && errno != EINVAL) {
1060 if (ifconf.lifc_len < buf_size)
1066 for (p = ifconf.lifc_buf;
1067 p < ifconf.lifc_buf + ifconf.lifc_len;