/src/tests/net/if/ |
ifconf.c | 60 ifc.ifc_len = 0; 69 return ifc.ifc_len / sizeof(struct ifreq); 99 ifc.ifc_len = sizeof(struct ifreq) * nifreqs; 107 for (i=0; i < (int)(ifc.ifc_len / sizeof(struct ifreq)); i++) {
|
/src/usr.sbin/bootp/common/ |
getif.c | 63 if (ifconf.ifc_len == 0) { 75 ifconf.ifc_len = ioc.ic_len; 78 ifconf.ifc_len = sizeof(ifreq); 82 if ((m < 0) || (ifconf.ifc_len <= 0)) { 90 len = ifconf.ifc_len;
|
/src/sys/compat/linux32/common/ |
linux32_sockio.h | 60 int ifc_len; member in struct:linux32_ifconf
|
linux32_socket.c | 436 if (ifc.ifc_len < 0) 439 space = ifc.ifc_len; 492 ifc.ifc_len -= space; 494 ifc.ifc_len = -space;
|
/src/sys/compat/common/ |
uipc_syscalls_40.c | 58 if (ifc->ifc_len < 0) 61 space = ifc->ifc_len; 159 ifc->ifc_len -= space; 161 ifc->ifc_len = -space;
|
/src/sys/compat/linux/common/ |
linux_sockio.h | 80 int ifc_len; member in struct:linux_ifconf
|
linux_socket.c | 1205 if (ifc.ifc_len < 0) 1208 space = ifc.ifc_len; 1261 ifc.ifc_len -= space; 1263 ifc.ifc_len = -space;
|
/src/usr.sbin/bootp/bootptest/ |
getether.c | 143 ifc.ifc_len = sizeof(ibuf); 146 ifc.ifc_len < (int)sizeof(struct ifreq)) { 152 ifend = (struct ifreq *) ((char *) ibuf + ifc.ifc_len);
|
/src/sys/compat/net/ |
if.h | 90 int ifc_len; /* size of associated buffer */ member in struct:oifconf
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_common_interceptors_ioctl.inc | 590 COMMON_INTERCEPTOR_READ_RANGE(ctx, (char*)&ifc->ifc_len, 591 sizeof(ifc->ifc_len)); 606 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
|
sanitizer_platform_limits_openbsd.h | 351 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
|
sanitizer_platform_limits_solaris.h | 375 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
|
sanitizer_platform_limits_freebsd.h | 396 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
|
sanitizer_platform_limits_openbsd.cc | 196 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
sanitizer_platform_limits_solaris.cc | 258 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
sanitizer_platform_limits_freebsd.cc | 420 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
sanitizer_interceptors_ioctl_netbsd.inc | 1514 COMMON_INTERCEPTOR_READ_RANGE(ctx, (char *)&ifc->ifc_len, 1515 sizeof(ifc->ifc_len)); 1530 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, ifc->ifc_ifcu.ifcu_req, ifc->ifc_len);
|
sanitizer_platform_limits_posix.h | 853 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
|
sanitizer_platform_limits_posix.cc | 1040 CHECK_SIZE_AND_OFFSET(ifconf, ifc_len);
|
sanitizer_platform_limits_netbsd.h | 481 int ifc_len; member in struct:__sanitizer::__sanitizer_ifconf
|
/src/sys/compat/netbsd32/ |
netbsd32_ioctl.c | 182 p->ifc_len = s32p->ifc_len; 739 s32p->ifc_len = p->ifc_len;
|
netbsd32_ioctl.h | 435 int ifc_len; /* size of associated buffer */ member in struct:netbsd32_ifconf
|
/src/usr.sbin/map-mbone/ |
mapper.c | 643 int ifc_len = strlen(ifc_name); local in function:print_map 649 printf("%*s", ifc_len + 5, "");
|
/src/sys/net/ |
if.c | 3636 * Records are added to the user buffer if they fit, and ifc_len is 3638 * assured of getting the complete list if ifc_len on return is at 3664 if (ifc->ifc_len < 0) 3667 space = ifc->ifc_len; 3731 KASSERT(0 <= space && space <= ifc->ifc_len); 3732 ifc->ifc_len -= space; 3735 ifc->ifc_len = space;
|
if.h | 943 int ifc_len; /* size of associated buffer */ member in struct:ifconf
|