/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 408 protected DhcpPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpPacket() argument 413 mClientIp = clientIp; in DhcpPacket() 982 Inet4Address clientIp; in decodeFullPacket() local 1123 clientIp = (Inet4Address) Inet4Address.getByAddress(ipv4addr); in decodeFullPacket() 1320 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket() 1324 transactionId, secs, clientIp, relayIp, clientMac, broadcast); in decodeFullPacket() 1328 transactionId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, requestedIp, in decodeFullPacket() 1333 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket() 1346 transactionId, serverIdentifier, clientIp, relayIp, clientMac); in decodeFullPacket() 1350 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket() [all …]
|
D | DhcpInformPacket.java | 29 DhcpInformPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpInformPacket() argument 32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpInformPacket()
|
D | DhcpDeclinePacket.java | 29 DhcpDeclinePacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpDeclinePacket() argument 32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpDeclinePacket()
|
D | DhcpRequestPacket.java | 29 DhcpRequestPacket(int transId, short secs, Inet4Address clientIp, Inet4Address relayIp, in DhcpRequestPacket() argument 31 super(transId, secs, clientIp, INADDR_ANY, INADDR_ANY, relayIp, clientMac, broadcast); in DhcpRequestPacket()
|
D | DhcpOfferPacket.java | 35 Inet4Address relayIp, Inet4Address clientIp, Inet4Address yourIp, byte[] clientMac) { in DhcpOfferPacket() argument 36 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpOfferPacket()
|
D | DhcpAckPacket.java | 33 Inet4Address relayIp, Inet4Address clientIp, Inet4Address yourIp, byte[] clientMac, in DhcpAckPacket() argument 35 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpAckPacket()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 112 public TestDhcpPacket(byte type, Inet4Address clientIp, Inet4Address yourIp) { in TestDhcpPacket() argument 113 super(0xdeadbeef, (short) 0, clientIp, yourIp, INADDR_ANY, INADDR_ANY, in TestDhcpPacket() 270 private void checkIpAddress(String expected, Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument 272 checkIpAddress(expected, DHCP_MESSAGE_TYPE_OFFER, clientIp, yourIp, netmaskBytes); in checkIpAddress() 273 checkIpAddress(expected, DHCP_MESSAGE_TYPE_ACK, clientIp, yourIp, netmaskBytes); in checkIpAddress() 277 Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument 279 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) in checkIpAddress()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 641 Inet4Address clientIp = (Inet4Address) results.ipAddress.getAddress(); in sendDhcpRequest() local 645 false /* broadcast */, macAddress, clientIp /* requestedIpAddress */, in sendDhcpRequest()
|