Searched refs:addJumpIfBytesAtR0NotEqual (Results 1 – 9 of 9) sorted by relevance
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfV4Generator.java | 192 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfBytesAtR0NotEqual(bytes, in addCountAndDropIfBytesAtR0NotEqual() 200 return maybeAddLoadCounterOffset(R1, cnt).addJumpIfBytesAtR0NotEqual(bytes, in addCountAndPassIfBytesAtR0NotEqual() 208 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndDrop(cnt).defineLabel(tgt); in addCountAndDropIfBytesAtR0Equal() 215 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfBytesAtR0Equal() 285 addJumpIfBytesAtR0NotEqual(v, notMatchLabel); in addCountAndDropOrPassByMatchingBytesAtR0()
|
D | LegacyApfFilter.java | 998 gen.addJumpIfBytesAtR0NotEqual( in generateFilterLocked() 1082 gen.addJumpIfBytesAtR0NotEqual(mSrcDstAddr, nextFilterLabel); in generateFilterLocked() 1097 gen.addJumpIfBytesAtR0NotEqual(mPortFingerprint, nextFilterLabel); in generateFilterLocked() 1101 gen.addJumpIfBytesAtR0NotEqual(mPayload, nextFilterLabel); in generateFilterLocked() 1198 gen.addJumpIfBytesAtR0NotEqual(mSrcDstAddr, nextFilterLabel); in generateFilterLocked() 1220 gen.addJumpIfBytesAtR0NotEqual(mPortSeqAckFingerprint, nextFilterLabel); in generateFilterLocked() 1334 gen.addJumpIfBytesAtR0NotEqual(ARP_IPV4_HEADER, mCountAndPassLabel); in generateArpFilterLocked() 1350 gen.addJumpIfBytesAtR0NotEqual(ETHER_BROADCAST, mCountAndPassLabel); in generateArpFilterLocked() 1364 gen.addJumpIfBytesAtR0NotEqual(mIPv4Address, mCountAndDropLabel); in generateArpFilterLocked() 1412 gen.addJumpIfBytesAtR0NotEqual(mHardwareAddress, skipDhcpv4Filter); in generateIPv4FilterLocked() [all …]
|
D | ApfFilter.java | 1201 gen.addJumpIfBytesAtR0NotEqual( in generateFilterLocked() 1336 gen.addJumpIfBytesAtR0NotEqual(mSrcDstAddr, nextFilterLabel); in generateFilterLocked() 1351 gen.addJumpIfBytesAtR0NotEqual(mPortFingerprint, nextFilterLabel); in generateFilterLocked() 1355 gen.addJumpIfBytesAtR0NotEqual(mPayload, nextFilterLabel); in generateFilterLocked() 1452 gen.addJumpIfBytesAtR0NotEqual(mSrcDstAddr, nextFilterLabel); in generateFilterLocked() 1474 gen.addJumpIfBytesAtR0NotEqual(mPortSeqAckFingerprint, nextFilterLabel); in generateFilterLocked() 1724 gen.addJumpIfBytesAtR0NotEqual(mHardwareAddress, skipDhcpv4Filter); in generateIPv4FilterLocked() 1917 .addJumpIfBytesAtR0NotEqual(IPV6_SOLICITED_NODES_PREFIX, notIpV6SolicitedNodeMcast) in generateNsFilterLocked() 2065 gen.addJumpIfBytesAtR0NotEqual(unsolicitedNaDropPrefix, skipUnsolicitedMulticastNALabel); in generateIPv6FilterLocked() 2098 gen.addJumpIfBytesAtR0NotEqual(ETH_MULTICAST_MDNS_V4_MAC_ADDRESS, skipMdnsv4Filter); in generateMdnsFilterLocked() [all …]
|
D | ApfV6GeneratorBase.java | 718 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndDrop(cnt).defineLabel(tgt); in addCountAndDropIfBytesAtR0Equal() 725 return addJumpIfBytesAtR0NotEqual(bytes, tgt).addCountAndPass(cnt).defineLabel(tgt); in addCountAndPassIfBytesAtR0Equal()
|
D | DnsUtils.java | 305 gen.addJumpIfBytesAtR0NotEqual(label.getBytes(), noMatchLabel); in addMatchLabel()
|
D | ApfV4GeneratorBase.java | 480 public final Type addJumpIfBytesAtR0NotEqual(@NonNull byte[] bytes, String tgt) { in addJumpIfBytesAtR0NotEqual() method in ApfV4GeneratorBase
|
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/ |
D | ApfTest.java | 721 gen.addJumpIfBytesAtR0NotEqual(new byte[]{123}, DROP_LABEL); in testApfInstructions() 733 gen.addJumpIfBytesAtR0NotEqual(new byte[]{123}, DROP_LABEL); in testApfInstructions() 737 gen.addJumpIfBytesAtR0NotEqual(new byte[]{123}, DROP_LABEL); in testApfInstructions() 741 gen.addJumpIfBytesAtR0NotEqual(new byte[]{1, 2, 30, 4, 5}, DROP_LABEL); in testApfInstructions() 746 gen.addJumpIfBytesAtR0NotEqual(new byte[]{1, 2, 3, 4, 5}, DROP_LABEL); in testApfInstructions() 3417 gen.addJumpIfBytesAtR0NotEqual(hexStringToByteArray("000108000604"), "LABEL_498"); in testFullApfV4ProgramGenerationIPV6() 3427 gen.addJumpIfBytesAtR0NotEqual(hexStringToByteArray("ffffffffffff"), "LABEL_498"); in testFullApfV4ProgramGenerationIPV6() 3448 gen.addJumpIfBytesAtR0NotEqual(hexStringToByteArray("e212507c6345"), "LABEL_159"); in testFullApfV4ProgramGenerationIPV6() 3462 gen.addJumpIfBytesAtR0NotEqual(hexStringToByteArray("ffffffffffff"), "LABEL_498"); in testFullApfV4ProgramGenerationIPV6() 3472 gen.addJumpIfBytesAtR0NotEqual(hexStringToByteArray("ffffffffffff"), "LABEL_498"); in testFullApfV4ProgramGenerationIPV6() [all …]
|
D | ApfNewTest.kt | 347 gen.addJumpIfBytesAtR0NotEqual(ByteArray(2048) { 1 }, DROP_LABEL) in testApfInstructionEncodingSizeCheck()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ApfIntegrationTest.kt | 444 gen.addJumpIfBytesAtR0NotEqual(data, BaseApfGenerator.PASS_LABEL) in testDropPingReply()
|