Home
last modified time | relevance | path

Searched refs:yourIp (Results 1 – 6 of 6) 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
382 mYourIp = yourIp; in DhcpPacket()
912 Inet4Address yourIp; in decodeFullPacket() local
1052 yourIp = (Inet4Address) Inet4Address.getByAddress(ipv4addr); in decodeFullPacket()
1238 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
1246 transactionId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, requestedIp, in decodeFullPacket()
1251 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket()
1268 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
1407 Inet4Address yourIp, byte[] mac, Integer timeout, Inet4Address netMask, in buildOfferPacket() argument
1413 INADDR_ANY /* clientIp */, yourIp, mac); in buildOfferPacket()
[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()
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()