Searched refs:bpf_pcap (Results 1 – 1 of 1) sorted by relevance
109 ScopedPcap bpf_pcap(pcap_fopen_offline(bpf_fp.get(), pcap_error)); in com_android_server_ApfTest_compareBpfApf() local110 if (bpf_pcap.get() == NULL) { in com_android_server_ApfTest_compareBpfApf()125 if (pcap_compile(bpf_pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) { in com_android_server_ApfTest_compareBpfApf()131 if (pcap_setfilter(bpf_pcap.get(), &bpf)) { in com_android_server_ApfTest_compareBpfApf()139 const uint8_t* bpf_packet = pcap_next(bpf_pcap.get(), &bpf_header); in com_android_server_ApfTest_compareBpfApf()