Home
last modified time | relevance | path

Searched refs:IPV4_HEADER_LEN (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1021 private static final int IPV4_HEADER_LEN = 20; field in ApfTest
1028 private static final int IPV4_TCP_HEADER_OFFSET = IP_HEADER_OFFSET + IPV4_HEADER_LEN;
1036 private static final int IPV4_UDP_HEADER_OFFSET = IP_HEADER_OFFSET + IPV4_HEADER_LEN;
1736 final int totalLength = dataLength + IPV4_HEADER_LEN + IPV4_TCP_HEADER_LEN; in ipv4TcpPacket()
1829 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTestCommon.java299 private static final int IPV4_HEADER_LEN = 20; field in IpClientIntegrationTestCommon
305 private static final int UDP_HEADER_OFFSET = ETH_HEADER_LEN + IPV4_HEADER_LEN;
309 private static final int DHCP_HEADER_OFFSET = ETH_HEADER_LEN + IPV4_HEADER_LEN
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java299 private static final int IPV4_HEADER_LEN = 20; // Without options field in ApfFilter