Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/android/net/apf/
DApfTest.java903 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfTest
1008 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_IPV4_ADDR); in testApfFilterIPv4()
1012 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1014 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1026 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_MULTICAST_IPV4_ADDR); in testApfFilterIPv4()
1028 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4()
1030 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4()
1099 put(mcastv4packet, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1110 put(bcastv4packet1, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast()
1115 put(bcastv4packet2, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterMulticast()
[all …]
/frameworks/base/services/net/java/android/net/apf/
DApfFilter.java263 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfFilter
980 gen.addLoad8(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()
987 gen.addLoad32(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()