Searched refs:ApfGenerator (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/net/java/android/net/apf/ |
D | ApfGenerator.java | 30 public class ApfGenerator { class 395 public ApfGenerator defineLabel(String name) throws IllegalInstructionException { in defineLabel() 405 public ApfGenerator addJump(String target) { in addJump() 416 public ApfGenerator addLoad8(Register register, int offset) { in addLoad8() 427 public ApfGenerator addLoad16(Register register, int offset) { in addLoad16() 438 public ApfGenerator addLoad32(Register register, int offset) { in addLoad32() 450 public ApfGenerator addLoad8Indexed(Register register, int offset) { in addLoad8Indexed() 462 public ApfGenerator addLoad16Indexed(Register register, int offset) { in addLoad16Indexed() 474 public ApfGenerator addLoad32Indexed(Register register, int offset) { in addLoad32Indexed() 484 public ApfGenerator addAdd(int value) { in addAdd() [all …]
|
D | ApfFilter.java | 24 import android.net.apf.ApfGenerator; 25 import android.net.apf.ApfGenerator.IllegalInstructionException; 26 import android.net.apf.ApfGenerator.Register; 597 long generateFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateFilterLocked() 681 private void generateArpFilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateArpFilterLocked() 736 private void generateIPv4FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv4FilterLocked() 787 private void generateIPv6FilterLocked(ApfGenerator gen) throws IllegalInstructionException { in generateIPv6FilterLocked() 846 private ApfGenerator beginProgramLocked() throws IllegalInstructionException { in beginProgramLocked() 847 ApfGenerator gen = new ApfGenerator(); in beginProgramLocked() 909 ApfGenerator gen = beginProgramLocked(); in installNewProgramLocked() [all …]
|
/frameworks/base/services/tests/servicestests/src/android/net/apf/ |
D | ApfTest.java | 25 import android.net.apf.ApfGenerator; 26 import android.net.apf.ApfGenerator.IllegalInstructionException; 27 import android.net.apf.ApfGenerator.Register; 101 private void assertVerdict(int expected, ApfGenerator gen, byte[] packet, int filterAge) in assertVerdict() 106 private void assertPass(ApfGenerator gen, byte[] packet, int filterAge) in assertPass() 111 private void assertDrop(ApfGenerator gen, byte[] packet, int filterAge) in assertDrop() 116 private void assertPass(ApfGenerator gen) in assertPass() 121 private void assertDrop(ApfGenerator gen) in assertDrop() 136 ApfGenerator gen = new ApfGenerator(); in testApfInstructions() 140 gen = new ApfGenerator(); in testApfInstructions() [all …]
|
D | Bpf2Apf.java | 19 import android.net.apf.ApfGenerator; 20 import android.net.apf.ApfGenerator.IllegalInstructionException; 21 import android.net.apf.ApfGenerator.Register; 55 private static void convertLine(String line, ApfGenerator gen) in convertLine() 310 ApfGenerator gen = new ApfGenerator(); in convert() 323 ApfGenerator gen = new ApfGenerator(); in main()
|