Home
last modified time | relevance | path

Searched refs:clientMac (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java348 byte[] clientMac, boolean broadcast) { in DhcpPacket() argument
355 mClientMac = clientMac; in DhcpPacket()
852 byte[] clientMac; in decodeFullPacket()
1007 clientMac = new byte[addrLen]; in decodeFullPacket()
1008 packet.get(clientMac); in decodeFullPacket()
1159 newPacket = new DhcpDiscoverPacket(transactionId, secs, relayIp, clientMac, in decodeFullPacket()
1164 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
1168 transactionId, secs, clientIp, relayIp, clientMac, broadcast); in decodeFullPacket()
1173 clientMac); in decodeFullPacket()
1177 transactionId, secs, broadcast, ipSrc, relayIp, clientIp, yourIp, clientMac); in decodeFullPacket()
[all …]
DDhcpServer.java390 final MacAddress clientMac = getMacAddr(packet); in processDiscover() local
392 lease = mLeaseRepo.getOffer(packet.getExplicitClientIdOrNull(), clientMac, in processDiscover()
402 transmitOffer(packet, lease, clientMac); in processDiscover()
409 final MacAddress clientMac = getMacAddr(packet); in processRequest() local
411 lease = mLeaseRepo.requestLease(packet.getExplicitClientIdOrNull(), clientMac, in processRequest()
422 transmitAck(packet, lease, clientMac); in processRequest()
477 @NonNull MacAddress clientMac) { in transmitOffer() argument
493 return transmitOfferOrAckPacket(offerPacket, request, lease, clientMac, broadcastFlag); in transmitOffer()
497 @NonNull MacAddress clientMac) { in transmitAck() argument
512 return transmitOfferOrAckPacket(ackPacket, request, lease, clientMac, broadcastFlag); in transmitAck()
[all …]
DDhcpDeclinePacket.java31 byte[] clientMac) { in DhcpDeclinePacket() argument
32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpDeclinePacket()
DDhcpReleasePacket.java33 Inet4Address relayIp, byte[] clientMac) { in DhcpReleasePacket() argument
35 relayIp, clientMac, false /* broadcast */); in DhcpReleasePacket()
DDhcpInformPacket.java31 byte[] clientMac) { in DhcpInformPacket() argument
32 super(transId, secs, clientIp, yourIp, nextIp, relayIp, clientMac, false); in DhcpInformPacket()
DDhcpDiscoverPacket.java34 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()
DDhcpNakPacket.java29 DhcpNakPacket(int transId, short secs, Inet4Address relayIp, byte[] clientMac, in DhcpNakPacket() argument
32 INADDR_ANY /* nextIp */, relayIp, clientMac, broadcast); in DhcpNakPacket()
DDhcpRequestPacket.java32 byte[] clientMac, boolean broadcast) { in DhcpRequestPacket() argument
33 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
34 super(transId, secs, clientIp, yourIp, serverAddress, relayIp, clientMac, broadcast); in DhcpAckPacket()