Searched refs:BIOCVERSION (Results 1 - 9 of 9) sorted by relevance

/freebsd-10.0-release/contrib/ipfilter/ipsend/
H A Dsbpf.c91 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0)
93 perror("BIOCVERSION");
/freebsd-10.0-release/contrib/ipfilter/
H A Dbpf-ipf.h89 * Struct return by BIOCVERSION. This represents the version number of
127 #define BIOCVERSION _IOR(B,113, struct bpf_version) macro
143 #define BIOCVERSION _IOR('B',113, struct bpf_version) macro
/freebsd-10.0-release/contrib/ipfilter/ipsd/
H A Dsbpf.c155 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0)
157 perror("BIOCVERSION");
/freebsd-10.0-release/sbin/dhclient/
H A Dbpf.c146 if (ioctl(info->wfdesc, BIOCVERSION, &v) < 0)
229 if (ioctl(info->rfdesc, BIOCVERSION, &v) < 0)
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-pf.c526 * See if BIOCVERSION works. If not, we assume the kernel doesn't
529 * BIOCSETF worked but BIOCVERSION didn't, and I've seen it do
530 * kernel filtering in DU 4.0, so presumably BIOCVERSION works
533 if (ioctl(p->fd, BIOCVERSION, (caddr_t)&bv) >= 0) {
H A Dpcap-bpf.c1502 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0) {
1503 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "BIOCVERSION: %s",
/freebsd-10.0-release/sys/net/
H A Dbpf.h79 * Struct return by BIOCVERSION. This represents the version number of
130 #define BIOCVERSION _IOR('B', 113, struct bpf_version) macro
H A Dbpf.c1147 * BIOCVERSION Get filter language version.
1199 case BIOCVERSION:
1502 case BIOCVERSION:
/freebsd-10.0-release/usr.sbin/usbdump/
H A Dusbdump.c879 if (ioctl(fd, BIOCVERSION, (caddr_t)&bv) < 0)
880 err(EXIT_FAILURE, "BIOCVERSION ioctl failed");

Completed in 207 milliseconds