Searched refs:mClientMac (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpPacket.java | 352 protected final byte[] mClientMac; field in DhcpPacket 385 mClientMac = clientMac; in DhcpPacket() 400 return mClientMac; in getClientMac() 429 clientId = new byte[mClientMac.length + 1]; in getClientId() 431 System.arraycopy(mClientMac, 0, clientId, 1, mClientMac.length); in getClientId() 479 buf.put(mClientMac); in fillInPacket() 516 buf.put((byte) mClientMac.length); // Hardware Address Length in fillInPacket() 531 buf.put(mClientMac); in fillInPacket() 533 (HWADDR_LEN - mClientMac.length) // pad addr to 16 bytes in fillInPacket() 817 String macAddr = macToString(mClientMac); in toString()
|
D | DhcpServer.java | 688 request.mRelayIp, lease.getNetAddr(), request.mClientMac, timeout, prefixMask, in transmitOffer() 708 lease.getNetAddr(), packet.mClientIp, packet.mClientMac, timeout, in transmitAck() 725 request.mRelayIp, request.mClientMac, true /* broadcast */, message); in transmitNak()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 221 private byte[] mClientMac; field in IpClientIntegrationTest 434 mClientMac = InterfaceParams.getByName(mIfaceName).macAddr.toByteArray(); 947 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac)); 977 sendArpReply(mClientMac);
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 452 assertEquals(TEST_CLIENT_MAC, MacAddress.fromBytes(packet.mClientMac)); in assertMatchesClient()
|