Home
last modified time | relevance | path

Searched refs:MIN_PACKET_LENGTH_L2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/android/net/dhcp/
DDhcpPacketTest.java760 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()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java57 public static final int MIN_PACKET_LENGTH_L2 = MIN_PACKET_LENGTH_L3 + 14; field in DhcpPacket
770 if (packet.remaining() < MIN_PACKET_LENGTH_L2) { in decodeFullPacket()
772 "L2 packet too short, %d < %d", packet.remaining(), MIN_PACKET_LENGTH_L2); in decodeFullPacket()