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
1185 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_IPV4_ADDR); in testApfFilterIPv4()
1189 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1191 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1203 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_MULTICAST_IPV4_ADDR); in testApfFilterIPv4()
1205 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1207 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1274 put(mcastv4packet, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1283 put(bcastv4packet1, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1288 put(bcastv4packet2, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterMulticast()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java295 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfFilter
1325 gen.addLoad8(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()
1332 gen.addLoad32(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()