Searched refs:addCountAndPass (Results 1 – 6 of 6) sorted by relevance
62 public final Type addCountAndPass(int cnt) { in addCountAndPass() method in ApfV6GeneratorBase591 public final Type addCountAndPass(ApfCounterTracker.Counter counter) { in addCountAndPass() method in ApfV6GeneratorBase593 return addCountAndPass(counter.value()); in addCountAndPass()619 return addJumpIfR0NotEquals(val, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfR0Equals()633 return addJumpIfR0Equals(val, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfR0NotEquals()656 .addCountAndPass(cnt) in addCountAndPassIfR0AnyBitsSet()677 return addJumpIfR0GreaterThan(val - 1, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfR0LessThan()697 return addJumpIfR0LessThan(val + 1, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfR0GreaterThan()711 return addJumpIfBytesAtR0Equal(bytes, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfBytesAtR0NotEqual()725 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfBytesAtR0Equal()[all …]
95 public ApfV4Generator addCountAndPass(ApfCounterTracker.Counter counter) { in addCountAndPass() method in ApfV4Generator215 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfBytesAtR0Equal()256 addCountAndPass(cnt); in addCountAndPassIfR0IsNoneOf()296 addCountAndPass(cnt); in addCountAndDropOrPassByMatchingBytesAtR0()
1626 gen.addCountAndPass(Counter.PASSED_ARP_BROADCAST_REPLY); in generateArpFilterLocked()1658 gen.addCountAndPass(Counter.PASSED_ARP_REQUEST); in generateArpFilterLocked()1703 gen.addCountAndPass(Counter.PASSED_IPV4_FROM_DHCPV4_SERVER); in generateIPv4FilterLocked()1725 gen.addCountAndPass(Counter.PASSED_DHCP); in generateIPv4FilterLocked()1764 gen.addCountAndPass(Counter.PASSED_IPV4); in generateIPv4FilterLocked()1901 v6Gen.addCountAndPass(PASSED_IPV6_NS_NO_ADDRESS); in generateNsFilterLocked()1952 v6Gen.addCountAndPass(Counter.PASSED_IPV6_ICMP); in generateNsFilterLocked()2032 gen.addCountAndPass(Counter.PASSED_IPV6_UNICAST_NON_ICMP); in generateIPv6FilterLocked()2320 gen.addCountAndPass(Counter.PASSED_IPV6_ICMP); in emitEpilogue()
608 public abstract Type addCountAndPass(ApfCounterTracker.Counter counter); in addCountAndPass() method in ApfV4GeneratorBase
350 assertFailsWith<IllegalArgumentException> { gen.addCountAndPass(DROPPED_ETH_BROADCAST) } in testApfInstructionEncodingSizeCheck()444 assertFailsWith<IllegalArgumentException> { v4gen.addCountAndPass(DROPPED_ETH_BROADCAST) } in testApfInstructionEncodingSizeCheck()559 gen.addCountAndPass(129) in testApfInstructionsEncoding()592 gen.addCountAndPass(PASSED_ARP) in testApfInstructionsEncoding()988 .addCountAndPass(Counter.PASSED_ARP) in testPassDrop()1422 .addCountAndPass(Counter.PASSED_ARP) in testV4CountAndPassDrop()1439 .addCountAndPass(PASSED_ARP) in testV2CountAndPassDrop()
3701 gen.addCountAndPass(getCounterEnumFromOffset(-8)); in testFullApfV4ProgramGenerationNatTKeepAliveV4()3716 gen.addCountAndPass(getCounterEnumFromOffset(-12)); in testFullApfV4ProgramGenerationNatTKeepAliveV4()3749 gen.addCountAndPass(getCounterEnumFromOffset(-16)); in testFullApfV4ProgramGenerationNatTKeepAliveV4()3764 gen.addCountAndPass(getCounterEnumFromOffset(-32)); in testFullApfV4ProgramGenerationNatTKeepAliveV4()3815 gen.addCountAndPass(getCounterEnumFromOffset(-20)); in testInfiniteLifetimeFullApfV4ProgramGeneration()3830 gen.addCountAndPass(getCounterEnumFromOffset(-24)); in testInfiniteLifetimeFullApfV4ProgramGeneration()3854 gen.addCountAndPass(getCounterEnumFromOffset(-28)); in testInfiniteLifetimeFullApfV4ProgramGeneration()3869 gen.addCountAndPass(getCounterEnumFromOffset(-44)); in testInfiniteLifetimeFullApfV4ProgramGeneration()