/packages/modules/NetworkStack/src/android/net/dhcp/ |
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 | DhcpPacket.java | 417 protected DhcpPacket(int transId, short secs, Inet4Address clientIp, Inet4Address yourIp, in DhcpPacket() argument 422 mClientIp = clientIp; in DhcpPacket() 1000 Inet4Address clientIp; in decodeFullPacket() local 1142 clientIp = (Inet4Address) Inet4Address.getByAddress(ipv4addr); in decodeFullPacket() 1353 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket() 1357 transactionId, secs, clientIp, relayIp, clientMac, broadcast); in decodeFullPacket() 1361 transactionId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, requestedIp, in decodeFullPacket() 1366 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac, in decodeFullPacket() 1379 transactionId, serverIdentifier, clientIp, relayIp, clientMac); in decodeFullPacket() 1656 int transactionId, short secs, Inet4Address clientIp, boolean broadcast, in buildRequestPacket() argument [all …]
|
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/Connectivity/Tethering/tests/mts/src/android/tethering/mts/ |
D | MtsEthernetTetheringTest.java | 209 final InetAddress clientIp = tethered.ipv4Addr; in runUdp4Test() local 210 sendUploadPacketUdp(srcMac, dstMac, clientIp, remoteIp, tester, false /* is4To6 */); in runUdp4Test() 222 sendUploadPacketUdp(srcMac, dstMac, clientIp, remoteIp, tester, false /* is4To6 */); in runUdp4Test() 258 sendUploadPacketUdp(srcMac, dstMac, clientIp, remoteIp, tester, in runUdp4Test()
|
/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() 271 private void checkIpAddress(String expected, Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument 273 checkIpAddress(expected, DHCP_MESSAGE_TYPE_OFFER, clientIp, yourIp, netmaskBytes); in checkIpAddress() 274 checkIpAddress(expected, DHCP_MESSAGE_TYPE_ACK, clientIp, yourIp, netmaskBytes); in checkIpAddress() 278 Inet4Address clientIp, Inet4Address yourIp, in checkIpAddress() argument 280 ByteBuffer packet = new TestDhcpPacket(type, clientIp, yourIp) in checkIpAddress()
|
/packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 539 final InetAddress clientIp = tethered.ipv4Addr; in runUdp4Test() local 540 sendUploadPacketUdp(srcMac, dstMac, clientIp, remoteIp, tester, false /* is4To6 */); in runUdp4Test() 724 final Inet4Address clientIp = tethered.ipv4Addr; in testTetherUdpV4Dns() local 726 final byte[] forwardedQueryPacket = sendUploadPacketDnsV4(srcMac, dstMac, clientIp, in testTetherUdpV4Dns()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 238 Inet4Address clientIp = (Inet4Address) results.ipAddress.getAddress(); in sendDhcpRequest() local 242 false /* broadcast */, macAddress, clientIp /* requestedIpAddress */, in sendDhcpRequest()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1155 final Inet6Address clientIp) throws Exception { 1163 clientIp /* dstIp */); 1171 final byte[] clientMac, final Inet6Address clientIp) throws Exception { 1174 return buildDhcp6Packet(advertise, MacAddress.fromBytes(clientMac), clientIp); 1178 final byte[] clientMac, final Inet6Address clientIp, boolean rapidCommit) 1182 return buildDhcp6Packet(reply, MacAddress.fromBytes(clientMac), clientIp);
|