Home
last modified time | relevance | path

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

/frameworks/base/tests/net/jni/
Dapf_jni.cpp142 const uint8_t* apf_packet; in com_android_server_ApfTest_compareBpfApf() local
144 apf_packet = pcap_next(apf_pcap.get(), &apf_header); in com_android_server_ApfTest_compareBpfApf()
145 } while (apf_packet != NULL && !accept_packet( in com_android_server_ApfTest_compareBpfApf()
146 apf_program, apf_program_len, apf_packet, apf_header.len, 0)); in com_android_server_ApfTest_compareBpfApf()
149 if (apf_packet == NULL && bpf_packet == NULL) in com_android_server_ApfTest_compareBpfApf()
151 if (apf_packet == NULL || bpf_packet == NULL) in com_android_server_ApfTest_compareBpfApf()
156 memcmp(apf_packet, bpf_packet, apf_header.len)) in com_android_server_ApfTest_compareBpfApf()