Searched refs:apf_version (Results 1 – 1 of 1) sorted by relevance
/packages/modules/NetworkStack/tests/unit/jni/ |
D | apf_jni.cpp | 35 static int run_apf_interpreter(int apf_version, uint32_t* program, in run_apf_interpreter() argument 39 if (apf_version == 4) { in run_apf_interpreter() 50 com_android_server_ApfTest_apfSimulate(JNIEnv* env, jclass, jint apf_version, in com_android_server_ApfTest_apfSimulate() argument 62 if (apf_version > 4) { in com_android_server_ApfTest_apfSimulate() 76 apf_version, buf.data(), program_len, ram_len, in com_android_server_ApfTest_apfSimulate() 147 JNIEnv* env, jclass, jint apf_version, jstring jfilter, in com_android_server_ApfTest_compareBpfApf() argument 152 uint32_t data_len = (apf_version > 4) ? 20 : 0; in com_android_server_ApfTest_compareBpfApf() 154 if (apf_version > 4) { ram_len += 3; ram_len &= ~3; } in com_android_server_ApfTest_compareBpfApf() 198 } while (apf_packet != NULL && !run_apf_interpreter(apf_version, in com_android_server_ApfTest_compareBpfApf() 217 JNIEnv* env, jclass, jint apf_version, jbyteArray jprogram, in com_android_server_ApfTest_dropsAllPackets() argument [all …]
|