summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap-bpf.c
diff options
context:
space:
mode:
authorrpaulo <rpaulo@FreeBSD.org>2009-03-21 23:13:48 +0000
committerrpaulo <rpaulo@FreeBSD.org>2009-03-21 23:13:48 +0000
commit46635ef154631a9f5a89577c2b3b1ac16f22b3a7 (patch)
tree5227cbaa9a7d136727acd698b4d097c208617fc6 /contrib/libpcap/pcap-bpf.c
parent12c773480a643f178a0e68c1469ea0a2332cd23d (diff)
downloadFreeBSD-src-46635ef154631a9f5a89577c2b3b1ac16f22b3a7.zip
FreeBSD-src-46635ef154631a9f5a89577c2b3b1ac16f22b3a7.tar.gz
Remove remaining references to BIOCSETBUFMODE ifdefs. We now have
another ifdef for zerocopy bpf.
Diffstat (limited to 'contrib/libpcap/pcap-bpf.c')
-rw-r--r--contrib/libpcap/pcap-bpf.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/libpcap/pcap-bpf.c b/contrib/libpcap/pcap-bpf.c
index 73ab4e1..8f35e4c 100644
--- a/contrib/libpcap/pcap-bpf.c
+++ b/contrib/libpcap/pcap-bpf.c
@@ -93,10 +93,6 @@ static int odmlockid = 0;
#endif /* _AIX */
-#ifdef BIOCSETBUFMODE
-#include <machine/atomic.h>
-#endif
-
#include <ctype.h>
#include <errno.h>
#include <netdb.h>
@@ -1893,9 +1889,6 @@ pcap_activate_bpf(pcap_t *p)
goto bad;
}
}
-#ifdef BIOCSETBUFMODE
- p->timeout = to_ms;
-#endif
#ifdef _AIX
#ifdef BIOCIMMEDIATE
OpenPOWER on IntegriCloud