diff options
Diffstat (limited to 'contrib/libpcap/pcap.3')
-rw-r--r-- | contrib/libpcap/pcap.3 | 9 |
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 |