Home
last modified time | relevance | path

Searched refs:clientIp (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java376 protected DhcpPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpPacket() argument
381 mClientIp = clientIp; in DhcpPacket()
911 Inet4Address clientIp; in decodeFullPacket() local
1050 clientIp = (Inet4Address) Inet4Address.getByAddress(ipv4addr); in decodeFullPacket()
1238 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
1242 transactionId, secs, clientIp, relayIp, clientMac, broadcast); in decodeFullPacket()
1246 transactionId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, requestedIp, in decodeFullPacket()
1251 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket()
1264 transactionId, serverIdentifier, clientIp, relayIp, clientMac); in decodeFullPacket()
1268 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
[all …]
DDhcpInformPacket.java29 DhcpInformPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpInformPacket() argument
32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpInformPacket()
DDhcpDeclinePacket.java29 DhcpDeclinePacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpDeclinePacket() argument
32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpDeclinePacket()
DDhcpRequestPacket.java29 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()
DDhcpOfferPacket.java35 Inet4Address relayIp, Inet4Address clientIp, Inet4Address yourIp, byte[] clientMac) { in DhcpOfferPacket() argument
36 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpOfferPacket()
DDhcpAckPacket.java33 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/
DDhcpPacketTest.java105 public TestDhcpPacket(byte type, Inet4Address clientIp, Inet4Address yourIp) { in TestDhcpPacket() argument
106 super(0xdeadbeef, (short) 0, clientIp, yourIp, INADDR_ANY, INADDR_ANY, in TestDhcpPacket()
263 private void checkIpAddress(String expected, Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument
265 checkIpAddress(expected, DHCP_MESSAGE_TYPE_OFFER, clientIp, yourIp, netmaskBytes); in checkIpAddress()
266 checkIpAddress(expected, DHCP_MESSAGE_TYPE_ACK, clientIp, yourIp, netmaskBytes); in checkIpAddress()
270 Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument
272 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) in checkIpAddress()