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.java290 private static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in ApfFilter
1009 gen.addLoad16(Register.R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1131 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
1742 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()
1835 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()