Searched refs:MIN_PACKET_LENGTH_L2 (Results 1 – 2 of 2) sorted by relevance
760 byte[] expected = new byte[DhcpPacket.MIN_PACKET_LENGTH_L2 + options.length]; in testDiscoverPacket()763 System.arraycopy(options, 0, expected, DhcpPacket.MIN_PACKET_LENGTH_L2, options.length); in testDiscoverPacket()
57 public static final int MIN_PACKET_LENGTH_L2 = MIN_PACKET_LENGTH_L3 + 14; field in DhcpPacket770 if (packet.remaining() < MIN_PACKET_LENGTH_L2) { in decodeFullPacket()772 "L2 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L2); in decodeFullPacket()