Manpage of PCAP_OFFLINE_FILTER
Section: Misc. Reference Manual Pages (3PCAP)
Updated: 7 April 2014
Return to Main Contents
pcap_offline_filter - check whether a filter matches a packet
int pcap_offline_filter(const struct bpf_program *fp,
const struct pcap_pkthdr *h, const u_char *pkt)
checks whether a filter matches a packet.
is a pointer to a
struct, usually the result of a call to
points to the
structure for the packet, and
points to the data in the packet.
returns the return value of the filter program. This will be zero if
the packet doesn't match the filter and non-zero if the packet matches
This document was created by
using the manual pages from "The Tcpdump Group" git repositories.
Time: 23:40:01 GMT, January 10, 2020