Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/jni/
Dapf_jni.cpp195 const uint8_t* apf_packet; in com_android_server_ApfTest_compareBpfApf() local
197 apf_packet = pcap_next(apf_pcap.get(), &apf_header); in com_android_server_ApfTest_compareBpfApf()
198 } while (apf_packet != NULL && !run_apf_interpreter(apf_version, in com_android_server_ApfTest_compareBpfApf()
200 apf_packet, apf_header.len, 0 /* filter_age */)); in com_android_server_ApfTest_compareBpfApf()
203 if (apf_packet == NULL && bpf_packet == NULL) in com_android_server_ApfTest_compareBpfApf()
205 if (apf_packet == NULL || bpf_packet == NULL) in com_android_server_ApfTest_compareBpfApf()
210 memcmp(apf_packet, bpf_packet, apf_header.len)) in com_android_server_ApfTest_compareBpfApf()
229 const uint8_t* apf_packet; in com_android_server_ApfTest_dropsAllPackets() local
247 while ((apf_packet = pcap_next(apf_pcap.get(), &apf_header)) != NULL) { in com_android_server_ApfTest_dropsAllPackets()
249 apf_version, buf.data(), apf_program_len, ram_len, apf_packet, apf_header.len, 0); in com_android_server_ApfTest_dropsAllPackets()