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

/freebsd-13-stable/contrib/ipfilter/ipsend/
H A Dsbpf.c113 if (ioctl(fd, BIOCGBLEN, &bufsize) == -1)
/freebsd-13-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-13-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-13-stable/libexec/rbootd/
H A Dbpf.c159 if (ioctl(BpfFd, BIOCGBLEN, (caddr_t)&BpfLen) < 0) {
160 syslog(LOG_ERR, "bpf: ioctl(BIOCGBLEN): %m");
/freebsd-13-stable/sys/net/
H A Dbpf.h124 #define BIOCGBLEN _IOR('B', 102, u_int) macro
H A Dbpf.c1324 * BIOCGBLEN Get buffer len [for read()].
1376 case BIOCGBLEN:
1457 case BIOCGBLEN:
/freebsd-13-stable/sbin/dhclient/
H A Dbpf.c247 if (ioctl(info->rfdesc, BIOCGBLEN, &sz) < 0)
/freebsd-13-stable/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c267 RL(rump_sys_ioctl(bpfd, BIOCGBLEN, &bufsize));
/freebsd-13-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-13-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-13-stable/usr.sbin/usbdump/
H A Dusbdump.c980 if (ioctl(fd, BIOCGBLEN, (caddr_t)&v) < 0)
981 err(EXIT_FAILURE, "BIOCGBLEN ioctl failed");
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.cpp1627 unsigned IOCTL_BIOCGBLEN = BIOCGBLEN;
H A Dsanitizer_interceptors_ioctl_netbsd.inc668 _(BIOCGBLEN, WRITE, sizeof(unsigned int));

Completed in 312 milliseconds