Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/apf/
DApfConstants.java30 public static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in ApfConstants
DLegacyApfFilter.java237 private static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in LegacyApfFilter
1089 gen.addLoad16(R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1212 gen.addLoad16(R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
DApfFilter.java52 import static android.net.apf.ApfConstants.IPV4_TOTAL_LENGTH_OFFSET;
1343 gen.addLoad16(R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1466 gen.addLoad16(R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DLegacyApfTest.java350 private static final int IPV4_TOTAL_LENGTH_OFFSET = IP_HEADER_OFFSET + 2; field in LegacyApfTest
1108 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()
1201 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()
DApfTest.java1054 private static final int IPV4_TOTAL_LENGTH_OFFSET = IP_HEADER_OFFSET + 2; field in ApfTest
2178 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()
2271 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()