/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 419 byte[] clientMac, boolean broadcast) { in DhcpPacket() argument 426 mClientMac = clientMac; in DhcpPacket() 1004 byte[] clientMac; in decodeFullPacket() 1164 clientMac = new byte[addrLen]; in decodeFullPacket() 1165 packet.get(clientMac); in decodeFullPacket() 1348 newPacket = new DhcpDiscoverPacket(transactionId, secs, relayIp, clientMac, 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() [all …]
|
D | DhcpServer.java | 547 final MacAddress clientMac = getMacAddr(packet); in processDiscover() local 551 clientMac, packet.mRelayIp, packet.mHostName); in processDiscover() 552 transmitAck(packet, lease, clientMac); in processDiscover() 554 lease = mLeaseRepo.getOffer(packet.getExplicitClientIdOrNull(), clientMac, in processDiscover() 556 transmitOffer(packet, lease, clientMac); in processDiscover() 570 final MacAddress clientMac = getMacAddr(packet); in processRequest() local 572 lease = mLeaseRepo.requestLease(packet.getExplicitClientIdOrNull(), clientMac, in processRequest() 583 transmitAck(packet, lease, clientMac); in processRequest() 700 @NonNull MacAddress clientMac) { in transmitOffer() argument 719 lease, clientMac, broadcastFlag); in transmitOffer() [all …]
|
D | DhcpReleasePacket.java | 33 Inet4Address relayIp, byte[] clientMac) { in DhcpReleasePacket() argument 35 relayIp, clientMac, false /* broadcast */); in DhcpReleasePacket()
|
D | DhcpNakPacket.java | 29 DhcpNakPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpNakPacket() argument 32 INADDR_ANY /* nextIp */, relayIp, clientMac, broadcast); in DhcpNakPacket()
|
D | DhcpDeclinePacket.java | 30 Inet4Address nextIp, Inet4Address relayIp, byte[] clientMac, in DhcpDeclinePacket() argument 32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpDeclinePacket()
|
D | DhcpDiscoverPacket.java | 34 DhcpDiscoverPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpDiscoverPacket() argument 36 super(transId, secs, INADDR_ANY, INADDR_ANY, INADDR_ANY, relayIp, clientMac, broadcast); in DhcpDiscoverPacket()
|
D | DhcpRequestPacket.java | 30 byte[] clientMac, boolean broadcast) { 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/tests/cts/net/src/android/net/cts/ |
D | NetworkValidationTest.kt | 167 reader.sendResponse(makeOfferPacket(discover.clientMac, discover.transactionId)) in testCapportApiCallbacks() 173 reader.sendResponse(makeAckPacket(request.clientMac, request.transactionId)) in testCapportApiCallbacks() 207 private fun makeOfferPacket(clientMac: ByteArray, transactionId: Int) = in makeOfferPacket() 210 clientMac, TEST_LEASE_TIMEOUT_SECS, in makeOfferPacket() 217 private fun makeAckPacket(clientMac: ByteArray, transactionId: Int) = in makeOfferPacket() 220 clientIpAddr /* requestClientIp */, clientMac, TEST_LEASE_TIMEOUT_SECS, in makeOfferPacket()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 1740 public final MacAddress clientMac; field in BpfCoordinator.ClientInfo 1744 @NonNull MacAddress clientMac) { in ClientInfo() argument 1748 this.clientMac = clientMac; in ClientInfo() 1758 && Objects.equals(this.clientMac, that.clientMac); in equals() 1763 return Objects.hash(downstreamIfindex, downstreamMac, clientAddress, clientMac); in hashCode() 1769 downstreamIfindex, downstreamMac, clientAddress, clientMac); in toString() 1979 c.clientMac, c.downstreamMac, ETH_P_IP, upstreamInfo.mtu, in makeTetherDownstream4Value()
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 1019 final MacAddress clientMac = e.isValid() ? e.macAddr : NULL_MAC_ADDRESS; in updateClientInfoIpv4() local 1021 mInterfaceParams.macAddr, (Inet4Address) e.ip, clientMac); in updateClientInfoIpv4()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1154 private static ByteBuffer buildDhcp6Packet(final ByteBuffer payload, final MacAddress clientMac, 1160 pb.writeL2Header(ROUTER_MAC /* srcMac */, clientMac /* dstMac */, (short) ETH_P_IPV6); 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);
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 2292 @NonNull final MacAddress clientMac, @NonNull final MacAddress downstreamMac, in makeDownstream4Value() argument 2294 return new Tether4Value(downstreamIfindex, clientMac, downstreamMac, in makeDownstream4Value()
|