Home
last modified time | relevance | path

Searched refs:DhcpNakPacket (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpNakPacket.java25 public class DhcpNakPacket extends DhcpPacket { class
29 DhcpNakPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpNakPacket() method in DhcpNakPacket
DDhcpPacket.java1370 newPacket = new DhcpNakPacket( in decodeFullPacket()
1645 DhcpPacket pkt = new DhcpNakPacket( in buildNakPacket()
DDhcpClient.java1469 } else if (packet instanceof DhcpNakPacket) { in receivePacket()
1918 } else if (packet instanceof DhcpNakPacket) { in receivePacket()
DDhcpServer.java754 return transmitPacket(nakPacket, DhcpNakPacket.class.getSimpleName(), dst); in transmitNak()
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/
DDhcpServerTest.java288 final DhcpNakPacket packet = assertNak(getPacket()); in testDiscover_OutOfAddresses()
335 final DhcpNakPacket packet = assertNak(getPacket()); in testRequest_Selecting_Nak()
481 private static DhcpNakPacket assertNak(@Nullable DhcpPacket packet) { in assertNak()
482 assertTrue(packet instanceof DhcpNakPacket); in assertNak()
483 return (DhcpNakPacket) packet; in assertNak()