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