Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/tests/unit/src/android/net/apf/
DApfTest.java1019 private static final int IP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfTest
1022 private static final int IPV4_TOTAL_LENGTH_OFFSET = IP_HEADER_OFFSET + 2;
1023 private static final int IPV4_PROTOCOL_OFFSET = IP_HEADER_OFFSET + 9;
1024 private static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12;
1025 private static final int IPV4_DEST_ADDR_OFFSET = IP_HEADER_OFFSET + 16;
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;
1045 private static final int IPV6_PAYLOAD_LENGTH_OFFSET = IP_HEADER_OFFSET + 4;
1046 private static final int IPV6_NEXT_HEADER_OFFSET = IP_HEADER_OFFSET + 6;
1047 private static final int IPV6_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 8;
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java948 static final int IP_HEADER_OFFSET = 0; field in ApfFilter.KeepalivePacket
949 static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12;