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.java408 protected DhcpPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpPacket() argument
414 mYourIp = yourIp; in DhcpPacket()
983 Inet4Address yourIp; in decodeFullPacket() local
1125 yourIp = (Inet4Address) Inet4Address.getByAddress(ipv4addr); in decodeFullPacket()
1320 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
1328 transactionId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, requestedIp, in decodeFullPacket()
1333 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket()
1350 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
1511 Inet4Address yourIp, byte[] mac, Integer timeout, Inet4Address netMask, in buildOfferPacket() argument
1517 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.java112 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()