summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap.3
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2000-01-30 00:32:56 +0000
committerfenner <fenner@FreeBSD.org>2000-01-30 00:32:56 +0000
commitaae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d (patch)
treed7ccf2b8332af627d9692b32089580fd3967581f /contrib/libpcap/pcap.3
parentca0d84cb8bfc8789fd48ada56322a575c4a1aa68 (diff)
downloadFreeBSD-src-aae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d.zip
FreeBSD-src-aae9bd2bccda7ddbeb438e8238ced9c4cd1e9d1d.tar.gz
Virgin import of tcpdump.org libpcap v0.5
Diffstat (limited to 'contrib/libpcap/pcap.3')
-rw-r--r--contrib/libpcap/pcap.39
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/libpcap/pcap.3 b/contrib/libpcap/pcap.3
index 23e5b52..c358c63 100644
--- a/contrib/libpcap/pcap.3
+++ b/contrib/libpcap/pcap.3
@@ -225,6 +225,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