Searched refs:IPV4_DEST_ADDR_OFFSET (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tests/net/java/android/net/apf/ |
D | ApfTest.java | 663 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfTest 755 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_IPV4_ADDR); in testApfFilterIPv4() 759 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4() 761 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4() 773 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_MULTICAST_IPV4_ADDR); in testApfFilterIPv4() 775 put(packet, IPV4_DEST_ADDR_OFFSET, MOCK_BROADCAST_IPV4_ADDR); in testApfFilterIPv4() 777 put(packet, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterIPv4() 843 put(mcastv4packet, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast() 854 put(bcastv4packet1, IPV4_DEST_ADDR_OFFSET, multicastIpv4Addr); in testApfFilterMulticast() 859 put(bcastv4packet2, IPV4_DEST_ADDR_OFFSET, IPV4_BROADCAST_ADDRESS); in testApfFilterMulticast() [all …]
|
/frameworks/base/services/net/java/android/net/apf/ |
D | ApfFilter.java | 182 private static final int IPV4_DEST_ADDR_OFFSET = ETH_HEADER_LEN + 16; field in ApfFilter 780 gen.addLoad8(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked() 785 gen.addLoad32(Register.R0, IPV4_DEST_ADDR_OFFSET); in generateIPv4FilterLocked()
|