Searched refs:targetHwAddress (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/ |
D | ArpPacket.java | 54 public final MacAddress targetHwAddress; field in ArpPacket 57 Inet4Address senderIp, MacAddress targetHwAddress, Inet4Address targetIp) { in ArpPacket() argument 63 this.targetHwAddress = targetHwAddress; in ArpPacket() 72 final byte[] targetIp, final byte[] targetHwAddress, byte[] senderIp, in buildArpPacket() argument 89 buf.put(targetHwAddress); // tha in buildArpPacket() 147 byte[] targetHwAddress = new byte[ETHER_ADDR_LEN]; in parseArpPacket() 149 buffer.get(targetHwAddress); in parseArpPacket() 156 MacAddress.fromBytes(targetHwAddress), in parseArpPacket()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | ArpPacketTest.java | 172 assertEquals(packet.targetHwAddress, MacAddress.fromBytes(TEST_TARGET_MAC_ADDR)); in testParseArpProbePacket() 185 assertEquals(packet.targetHwAddress, MacAddress.fromBytes(TEST_TARGET_MAC_ADDR)); in testParseArpAnnouncePacket()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1597 assertTrue(Arrays.equals(packet.targetHwAddress.toByteArray(), 1607 assertTrue(Arrays.equals(packet.targetHwAddress.toByteArray(), ETHER_BROADCAST));
|