Searched refs:BIOCSETF (Results 1 - 14 of 14) sorted by relevance

/freebsd-13-stable/contrib/netbsd-tests/net/bpf/
H A Dt_div-by-zero.c43 ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(fd, BIOCSETF, &bp), -1,
/freebsd-13-stable/contrib/ipfilter/
H A Dbpf-ipf.h73 * Structure for BIOCSETF.
117 #define BIOCSETF _IOW(B,103, struct bpf_program) macro
133 #define BIOCSETF _IOW('B',103, struct bpf_program) macro
/freebsd-13-stable/contrib/libpcap/testprogs/
H A Dvalgrindtest.c379 ioctl(pcap_fd, BIOCSETF, &bad_fcode);
396 ioctl(pcap_fd, BIOCSETF, &bad_fcode);
/freebsd-13-stable/contrib/netbsd-tests/net/bpfilter/
H A Dt_bpfilter.c268 RL(rump_sys_ioctl(bpfd, BIOCSETF, &prog));
310 rv = rump_sys_ioctl(bpfd, BIOCSETF, prog);
/freebsd-13-stable/libexec/rbootd/
H A Dbpf.c193 if (ioctl(BpfFd, BIOCSETF, (caddr_t)&bpf_pgm) < 0) {
194 syslog(LOG_ERR, "bpf: ioctl(BIOCSETF): %m");
/freebsd-13-stable/sys/net/
H A Dbpf.h69 * Structure for BIOCSETF.
126 #define BIOCSETF _IOW('B', 103, struct bpf_program) macro
H A Dbpf.c747 * First BIOCSETF is done by pcap_open_live() to set up
791 if (cmd == BIOCSETF && flen == 1 &&
806 * Do not require upgrade by first BIOCSETF
1325 * BIOCSETF Set read filter.
1473 case BIOCSETF:
1941 cmd = BIOCSETF;
2010 if (cmd == BIOCSETF)
/freebsd-13-stable/sbin/dhclient/
H A Dbpf.c268 if (ioctl(info->rfdesc, BIOCSETF, &p) < 0)
/freebsd-13-stable/contrib/libpcap/
H A Dpcap-pf.c599 * BIOCSETF worked but BIOCVERSION didn't, and I've seen it do
614 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) < 0) {
616 sizeof(p->errbuf), errno, "BIOCSETF");
640 * this filter (BIOCSETF discards packets buffered
H A Dpcap-bpf.c2499 if (ioctl(p->fd, BIOCSETF, (caddr_t)&total_prog) < 0) {
2501 errno, "BIOCSETF");
3205 if (ioctl(p->fd, BIOCSETF, (caddr_t)fp) == 0) {
3214 * might not pass this filter (BIOCSETF discards packets
3238 errno, "BIOCSETF");
/freebsd-13-stable/usr.sbin/rarpd/
H A Drarpd.c460 if (ioctl(fd, BIOCSETF, (caddr_t)&filter) == -1) {
461 logmsg(LOG_ERR, "BIOCSETF: %m");
/freebsd-13-stable/usr.sbin/usbdump/
H A Dusbdump.c990 if (ioctl(p->fd, BIOCSETF, (caddr_t)&total_prog) < 0)
991 err(EXIT_FAILURE, "BIOCSETF ioctl failed");
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_netbsd.cpp1629 unsigned IOCTL_BIOCSETF = BIOCSETF;
H A Dsanitizer_interceptors_ioctl_netbsd.inc670 _(BIOCSETF, READ, struct_bpf_program_sz);

Completed in 270 milliseconds