summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap.3
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2000-01-30 00:43:38 +0000
committerfenner <fenner@FreeBSD.org>2000-01-30 00:43:38 +0000
commit787eaee1ab20ef667522f74c0de780af3da9ee19 (patch)
tree3d97dbb185f58043dc42b43fc1544771c223280c /contrib/libpcap/pcap.3
parentcd005a95696048ba76613daaa83178e68751c681 (diff)
downloadFreeBSD-src-787eaee1ab20ef667522f74c0de780af3da9ee19.zip
FreeBSD-src-787eaee1ab20ef667522f74c0de780af3da9ee19.tar.gz
Merge libpcap 0.5
Diffstat (limited to 'contrib/libpcap/pcap.3')
-rw-r--r--contrib/libpcap/pcap.310
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/libpcap/pcap.3 b/contrib/libpcap/pcap.3
index 6c1eaea..0fb4a82 100644
--- a/contrib/libpcap/pcap.3
+++ b/contrib/libpcap/pcap.3
@@ -17,6 +17,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
+.\" $FreeBSD$
.\" $Id$
.\"
.TH PCAP 3 "24 June 1998"
@@ -227,6 +228,15 @@ controls whether optimization on the resulting code is performed.
.I netmask
specifies the netmask of the local net.
.PP
+.B pcap_compile_nopcap()
+is similar to
+.B pcap_compile()
+except that instead of passing a pcap structure, one passes the
+snaplen and linktype explicitly. It is intended to be used for
+compiling filters for direct bpf usage, without necessarily having
+called
+.BR pcap_open() .
+.PP
.B pcap_setfilter()
is used to specify a filter program.
.I fp
OpenPOWER on IntegriCloud