/netbsd/usr.sbin/bootp/common/ |
H A D | getif.c | 63 if (ifconf.ifc_len == 0) { in getif() 75 ifconf.ifc_len = ioc.ic_len; in getif() 78 ifconf.ifc_len = sizeof(ifreq); in getif() 82 if ((m < 0) || (ifconf.ifc_len <= 0)) { in getif() 90 len = ifconf.ifc_len; in getif()
|
/netbsd/tests/net/if/ |
H A D | ifconf.c | 60 ifc.ifc_len = 0; in get_number_of_entries() 69 return ifc.ifc_len / sizeof(struct ifreq); in get_number_of_entries() 99 ifc.ifc_len = sizeof(struct ifreq) * nifreqs; in show_interfaces() 107 for (i=0; i < (int)(ifc.ifc_len / sizeof(struct ifreq)); i++) { in show_interfaces()
|
/netbsd/sys/compat/common/ |
H A D | uipc_syscalls_40.c | 58 if (ifc->ifc_len < 0) in compat_ifconf() 61 space = ifc->ifc_len; in compat_ifconf() 159 ifc->ifc_len -= space; in compat_ifconf() 161 ifc->ifc_len = -space; in compat_ifconf()
|
/netbsd/external/bsd/libpcap/dist/ |
H A D | fad-gifc.c | 200 ifc.ifc_len = buf_size; in pcap_findalldevs_interfaces() 211 if (ifc.ifc_len < (int)buf_size && in pcap_findalldevs_interfaces() 212 (buf_size - ifc.ifc_len) > sizeof(ifrp->ifr_name) + MAX_SA_LEN) in pcap_findalldevs_interfaces() 219 ifend = (struct ifreq *)(buf + ifc.ifc_len); in pcap_findalldevs_interfaces()
|
/netbsd/external/bsd/ntp/dist/lib/isc/unix/ |
H A D | ifiter_ioctl.c | 144 memset(&iter->ifc.ifc_len, 0, sizeof(iter->ifc.ifc_len)); in getbuf4() 145 iter->ifc.ifc_len = iter->bufsize; in getbuf4() 178 if (iter->ifc.ifc_len + 2 * sizeof(struct ifreq) in getbuf4() 466 if (iter->ifc.ifc_len == 0 || in internal_current4() 467 iter->pos == (unsigned int)iter->ifc.ifc_len) { in internal_current4() 475 INSIST( iter->pos < (unsigned int) iter->ifc.ifc_len); in internal_current4() 919 if (iter->pos < (unsigned int) iter->ifc.ifc_len) { in internal_next4() 931 INSIST(iter->pos == (unsigned int) iter->ifc.ifc_len); in internal_next4()
|
/netbsd/usr.sbin/bootp/bootptest/ |
H A D | getether.c | 141 ifc.ifc_len = sizeof(ibuf); in getether() 144 ifc.ifc_len < (int)sizeof(struct ifreq)) { in getether() 150 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len); in getether()
|
/netbsd/sys/compat/linux32/common/ |
H A D | linux32_socket.c | 436 if (ifc.ifc_len < 0) in linux32_getifconf() 439 space = ifc.ifc_len; in linux32_getifconf() 492 ifc.ifc_len -= space; in linux32_getifconf() 494 ifc.ifc_len = -space; in linux32_getifconf()
|
H A D | linux32_sockio.h | 60 int ifc_len; member
|
/netbsd/external/ibm-public/postfix/dist/src/util/ |
H A D | inet_addr_local.c | 381 ifc.ifc_len = vstring_avail(buf); in ial_siocgif() 386 } else if (ifc.ifc_len < vstring_avail(buf) / 2) in ial_siocgif() 391 the_end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); in ial_siocgif()
|
/netbsd/external/bsd/am-utils/dist/libamu/ |
H A D | wire.c | 453 #define count (ifc.ifc_len/sizeof(struct ifreq)) 484 ifc.ifc_len = sizeof(buf); 496 cplim = buf + ifc.ifc_len;
|
/netbsd/external/apache2/mDNSResponder/dist/mDNSPosix/ |
H A D | mDNSUNP.c | 253 ifc.ifc_len = len; in get_ifi_info() 260 if (ifc.ifc_len == lastlen) in get_ifi_info() 262 lastlen = ifc.ifc_len; in get_ifi_info() 273 for (ptr = buf; ptr < buf + ifc.ifc_len; ) { in get_ifi_info()
|
/netbsd/external/bsd/ntp/dist/include/ |
H A D | ntif.h | 86 int ifc_len; /* size of associated buffer */ member
|
/netbsd/sys/compat/linux/common/ |
H A D | linux_sockio.h | 80 int ifc_len; member
|
H A D | linux_socket.c | 1183 if (ifc.ifc_len < 0) in linux_getifconf() 1186 space = ifc.ifc_len; in linux_getifconf() 1239 ifc.ifc_len -= space; in linux_getifconf() 1241 ifc.ifc_len = -space; in linux_getifconf()
|
/netbsd/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | uuid.c | 138 ifc.ifc_len = sizeof( buf ); in lutil_eaddr() 149 for ( i = 0; i < ifc.ifc_len; ) { in lutil_eaddr()
|
/netbsd/external/mit/libuv/dist/src/unix/ |
H A D | aix.c | 1134 ifc.ifc_len = size; in uv_interface_addresses() 1144 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses() 1177 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses() 1231 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()
|
H A D | os390.c | 438 ifc.ifc_len = maxsize; in uv_interface_addresses() 453 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses() 507 while ((char*)ifr < (char*)ifc.ifc_req + ifc.ifc_len) { in uv_interface_addresses()
|
/netbsd/sys/compat/net/ |
H A D | if.h | 90 int ifc_len; /* size of associated buffer */ member
|
/netbsd/external/bsd/libbind/dist/irs/ |
H A D | gethostent.c | 682 ifc.ifc_len = bufsiz; in scan_interfaces() 702 if (ifc.ifc_len + 2 * sizeof(u.ifreq) < bufsiz) in scan_interfaces() 717 cplim = buf + ifc.ifc_len; /*%< skip over if's with big ifr_addr's */ in scan_interfaces()
|
/netbsd/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 349 int ifc_len; member
|
H A D | sanitizer_platform_limits_openbsd.cc | 194 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 351 int ifc_len; member
|
H A D | sanitizer_platform_limits_openbsd.cc | 196 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_platform_limits_openbsd.h | 349 int ifc_len; member
|
H A D | sanitizer_platform_limits_openbsd.cc | 194 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|