Lines Matching refs:pf
103 struct pcap_pf *pf = pc->priv; in pcap_read_pf() local
190 pf->TotPkts++; in pcap_read_pf()
191 pf->TotDrops += sp->ens_dropped; in pcap_read_pf()
192 pf->TotMissed = sp->ens_ifoverflows; in pcap_read_pf()
193 if (pf->OrigMissed < 0) in pcap_read_pf()
194 pf->OrigMissed = pf->TotMissed; in pcap_read_pf()
207 if (pf->filtering_in_kernel || in pcap_read_pf()
210 pf->TotAccepted++; in pcap_read_pf()
245 struct pcap_pf *pf = p->priv; in pcap_stats_pf() local
283 ps->ps_recv = pf->TotAccepted; in pcap_stats_pf()
284 ps->ps_drop = pf->TotDrops; in pcap_stats_pf()
285 ps->ps_ifdrop = pf->TotMissed - pf->OrigMissed; in pcap_stats_pf()
300 struct pcap_pf *pf = p->priv; in pcap_activate_pf() local
334 pf->OrigMissed = -1; in pcap_activate_pf()
527 struct pcap_pf *pf = p->priv; in pcap_setfilter_pf() local
569 pf->filtering_in_kernel = 1; in pcap_setfilter_pf()
607 pf->filtering_in_kernel = 0; in pcap_setfilter_pf()