Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java289 private static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in ApfFilter
1008 gen.addLoad16(Register.R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1130 gen.addLoad16(Register.R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1022 private static final int IPV4_TOTAL_LENGTH_OFFSET = IP_HEADER_OFFSET + 2; field in ApfTest
1730 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()
1823 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()