Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfV4Generator.java48 public final String mCountAndDropLabel; field in ApfV4Generator
68 mCountAndDropLabel = version > 2 ? COUNT_AND_DROP_LABEL : DROP_LABEL; in ApfV4Generator()
111 return maybeAddLoadCounterOffset(R1, counter).addJump(mCountAndDropLabel); in addCountAndDrop()
117 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0Equals(val, mCountAndDropLabel); in addCountAndDropIfR0Equals()
129 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0NotEquals(val, mCountAndDropLabel); in addCountAndDropIfR0NotEquals()
141 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0AnyBitsSet(val, mCountAndDropLabel); in addCountAndDropIfR0AnyBitsSet()
156 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0LessThan(val, mCountAndDropLabel); in addCountAndDropIfR0LessThan()
175 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfR0GreaterThan(val, mCountAndDropLabel); in addCountAndDropIfR0GreaterThan()
193 mCountAndDropLabel); in addCountAndDropIfBytesAtR0NotEqual()
241 addJumpIfR0Equals(v, mCountAndDropLabel); in addCountAndDropIfR0IsOneOf()
DLegacyApfFilter.java137 private final String mCountAndDropLabel; field in LegacyApfFilter
413 mCountAndDropLabel = "countAndDrop"; in LegacyApfFilter()
418 mCountAndDropLabel = ApfV4Generator.DROP_LABEL; in LegacyApfFilter()
1018 gen.addJump(mCountAndDropLabel); in generateFilterLocked()
1104 gen.addJump(mCountAndDropLabel); in generateFilterLocked()
1223 gen.addJump(mCountAndDropLabel); in generateFilterLocked()
1345 gen.addJumpIfR0Equals(IPV4_ANY_HOST_ADDRESS, mCountAndDropLabel); in generateArpFilterLocked()
1358 gen.addJumpIfR0Equals(IPV4_ANY_HOST_ADDRESS, mCountAndDropLabel); in generateArpFilterLocked()
1364 gen.addJumpIfBytesAtR0NotEqual(mIPv4Address, mCountAndDropLabel); in generateArpFilterLocked()
1423 gen.addJumpIfR0Equals(0xe0, mCountAndDropLabel); in generateIPv4FilterLocked()
[all …]
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java3681 gen.addJumpIfR0Equals(0x88a2, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3682 gen.addJumpIfR0Equals(0x88a4, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3683 gen.addJumpIfR0Equals(0x88b8, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3684 gen.addJumpIfR0Equals(0x88cd, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3685 gen.addJumpIfR0Equals(0x88e1, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3686 gen.addJumpIfR0Equals(0x88e3, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3724 gen.addJumpIfR0Equals(0xffffffff, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3763 gen.addJumpIfR0Equals(0xff, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3769 gen.addJumpIfR0Equals(0x85, gen.mCountAndDropLabel); in testFullApfV4ProgramGenerationNatTKeepAliveV4()
3795 gen.addJumpIfR0Equals(0x88a2, gen.mCountAndDropLabel); in testInfiniteLifetimeFullApfV4ProgramGeneration()
[all …]