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