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;
1724 final int totalLength = dataLength + IPV4_HEADER_LEN + IPV4_TCP_HEADER_LEN; in ipv4TcpPacket()
1817 final int totalLength = dataLength + IPV4_HEADER_LEN + UDP_HEADER_LEN; in ipv4UdpPacket()
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/
DIpClientIntegrationTest.java227 private static final int IPV4_HEADER_LEN = 20; field in IpClientIntegrationTest
233 private static final int UDP_HEADER_OFFSET = ETH_HEADER_LEN + IPV4_HEADER_LEN;
237 private static final int DHCP_HEADER_OFFSET = ETH_HEADER_LEN + IPV4_HEADER_LEN
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java298 private static final int IPV4_HEADER_LEN = 20; // Without options field in ApfFilter