Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp161 char pcap_error[PCAP_ERRBUF_SIZE]; in com_android_server_ApfTest_compareBpfApf() local
162 ScopedPcap bpf_pcap(pcap_fopen_offline(bpf_fp.get(), pcap_error)); in com_android_server_ApfTest_compareBpfApf()
164 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
170 ScopedPcap apf_pcap(pcap_fopen_offline(apf_fp.get(), pcap_error)); in com_android_server_ApfTest_compareBpfApf()
172 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_compareBpfApf()
230 char pcap_error[PCAP_ERRBUF_SIZE]; in com_android_server_ApfTest_dropsAllPackets() local
240 ScopedPcap apf_pcap(pcap_fopen_offline(apf_fp.get(), pcap_error)); in com_android_server_ApfTest_dropsAllPackets()
243 throwException(env, "pcap_fopen_offline failed: " + std::string(pcap_error)); in com_android_server_ApfTest_dropsAllPackets()