Searched refs:senderHwAddress (Results 1 – 4 of 4) sorted by relevance
51 public final MacAddress senderHwAddress; field in ArpPacket54 ArpPacket(short opCode, MacAddress senderHwAddress, Inet4Address senderIp, in ArpPacket() argument57 this.senderHwAddress = senderHwAddress; in ArpPacket()138 byte[] senderHwAddress = new byte[ETHER_ADDR_LEN]; in parseArpPacket()140 buffer.get(senderHwAddress); in parseArpPacket()148 return new ArpPacket(opCode, MacAddress.fromBytes(senderHwAddress), in parseArpPacket()
165 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpProbePacket()176 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpAnnouncePacket()
1517 && !Arrays.equals(packet.senderHwAddress.toByteArray(), mHwAddr)); in packetHasIpAddressConflict()1526 final MacAddress senderMacAddress = packet.senderHwAddress; in hasIpAddressConflict()
947 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac));