Searched refs:BIOCGBLEN (Results 1 - 13 of 13) sorted by relevance

/freebsd-12-stable/contrib/ipfilter/ipsend/
H A Dsbpf.c113 if (ioctl(fd, BIOCGBLEN, &bufsize) == -1)
/freebsd-12-stable/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c173 atf_tc_set_md_var(tc, "descr", "Checks behaviors of BIOCGBLEN and "
189 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
193 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &blen));
/freebsd-12-stable/contrib/ipfilter/
H A Dbpf-ipf.h115 #define BIOCGBLEN _IOR(B,102, u_int) macro
131 #define BIOCGBLEN _IOR('B',102, u_int) macro
/freebsd-12-stable/libexec/rbootd/
H A Dbpf.c159 if (ioctl(BpfFd, BIOCGBLEN, (caddr_t)&BpfLen) < 0) {
160 syslog(LOG_ERR, "bpf: ioctl(BIOCGBLEN): %m");
/freebsd-12-stable/sys/net/
H A Dbpf.h120 #define BIOCGBLEN _IOR('B', 102, u_int) macro
H A Dbpf.c1249 * BIOCGBLEN Get buffer len [for read()].
1301 case BIOCGBLEN:
1383 case BIOCGBLEN:
/freebsd-12-stable/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c267 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &bufsize));
/freebsd-12-stable/sbin/dhclient/
H A Dbpf.c247 if (ioctl(info->rfdesc, BIOCGBLEN, &sz) < 0)
/freebsd-12-stable/contrib/libpcap/
H A Dpcap-bpf.c1967 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) ||
2048 if ((ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) ||
2457 if (ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0) {
2459 errno, "BIOCGBLEN");
/freebsd-12-stable/usr.sbin/rarpd/
H A Drarpd.c525 if (ioctl(iflist->ii_fd, BIOCGBLEN, (caddr_t)&bufsize) == -1) {
526 logmsg(LOG_ERR, "BIOCGBLEN: %m");
/freebsd-12-stable/usr.sbin/usbdump/
H A Dusbdump.c942 if (ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0)
943 err(EXIT_FAILURE, "BIOCGBLEN ioctl failed");
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.cpp1496 unsigned IOCTL_BIOCGBLEN = BIOCGBLEN;
H A Dsanitizer_interceptors_ioctl_netbsd.inc671 _(BIOCGBLEN, WRITE, sizeof(unsigned int));

Completed in 345 milliseconds