Searched refs:IPV4_TOTAL_LENGTH_OFFSET (Results 1 – 2 of 2) sorted by relevance
289 private static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in ApfFilter1008 gen.addLoad16(Register.R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()1130 gen.addLoad16(Register.R1, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()
1022 private static final int IPV4_TOTAL_LENGTH_OFFSET = IP_HEADER_OFFSET + 2; field in ApfTest1730 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()1823 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()