Searched refs:IPV4_TOTAL_LENGTH_OFFSET (Results 1 – 2 of 2) sorted by relevance
290 private static final int IPV4_TOTAL_LENGTH_OFFSET = ETH_HEADER_LEN + 2; field in ApfFilter1009 gen.addLoad16(Register.R0, IPV4_TOTAL_LENGTH_OFFSET); in generateFilterLocked()1131 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 ApfTest1742 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4TcpPacket()1835 packet.putShort(IPV4_TOTAL_LENGTH_OFFSET, (short) totalLength); in ipv4UdpPacket()