Home
last modified time | relevance | path

Searched refs:hpcap (Results 1 – 2 of 2) sorted by relevance

/freebsd-14.2/contrib/pf/pflogd/
H A Dpflogd.c59 pcap_t *hpcap; variable
217 if (pcap_setfilter(hpcap, &bprog) < 0) in set_pcap_filter()
272 if (hpcap == NULL) { in init_pcap()
279 pcap_close(hpcap); in init_pcap()
280 hpcap = NULL; in init_pcap()
337 if (hpcap == NULL) in try_reset_dump()
387 hdr.snaplen = hpcap->snapshot; in try_reset_dump()
389 hdr.linktype = hpcap->linktype; in try_reset_dump()
442 hdr.linktype != hpcap->linktype || in scan_dump()
644 if (pcap_stats(hpcap, &pstat) < 0)
[all …]
H A Dprivsep.c63 extern pcap_t *hpcap;
183 if (hpcap == NULL) in set_snaplen()
186 hpcap->snapshot = snap; in set_snaplen()
254 hpcap->snapshot = snaplen; in priv_set_snaplen()