Searched refs:mtuBytes (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/tests/net/java/android/net/dhcp/ |
H A D | DhcpPacketTest.java | 527 private byte[] mtuBytes(int mtu) { method in class:DhcpPacketTest 537 private void checkMtu(ByteBuffer packet, int expectedMtu, byte[] mtuBytes) throws Exception { argument 538 if (mtuBytes != null) { 539 packet.position(packet.capacity() - mtuBytes.length); 540 packet.put(mtuBytes); 574 checkMtu(packet, 0, mtuBytes(1501)); 575 checkMtu(packet, 1500, mtuBytes(1500)); 576 checkMtu(packet, 1499, mtuBytes(1499)); 577 checkMtu(packet, 1280, mtuBytes(1280)); 578 checkMtu(packet, 0, mtuBytes(127 [all...] |
Completed in 345 milliseconds