Home
last modified time | relevance | path

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

/frameworks/base/tests/net/jni/
Dapf_jni.cpp42 explicit ScopedPcap(pcap_t* pcap) : pcap_ptr(pcap) {} in ScopedPcap() argument
76 ScopedPcap pcap(pcap_open_dead(DLT_EN10MB, 65535)); in com_android_server_ApfTest_compileToBpf() local
77 if (pcap.get() == NULL) { in com_android_server_ApfTest_compileToBpf()
84 if (pcap_compile(pcap.get(), &bpf, filter.c_str(), 0, PCAP_NETMASK_UNKNOWN)) { in com_android_server_ApfTest_compileToBpf()