Home
last modified time | relevance | path

Searched refs:IPV4_DEST_ADDR_OFFSET (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1025 private static final int IPV4_DEST_ADDR_OFFSET = IP_HEADER_OFFSET + 16; field in ApfTest
1189 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_IPV4_ADDR); in testApfFilterIPv4()
1193 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1195 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1207 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_MULTICAST_IPV4_ADDR); in testApfFilterIPv4()
1209 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1211 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1286 put(mcastv4packet, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1295 put(bcastv4packet1, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1300 put(bcastv4packet2, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterMulticast()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java296 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfFilter
1326 gen.addLoad8(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()
1333 gen.addLoad32(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()