Searched refs:IP_HEADER_OFFSET (Results 1 – 2 of 2) sorted by relevance
1019 private static final int IP_HEADER_OFFSET = ETH_HEADER_LEN; field in ApfTest1022 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 …]
949 static final int IP_HEADER_OFFSET = 0; field in ApfFilter.KeepalivePacket950 static final int IPV4_SRC_ADDR_OFFSET = IP_HEADER_OFFSET + 12;