Searched refs:senderHwAddress (Results 1 – 4 of 4) sorted by relevance
/packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
D | ArpPacket.java | 51 public final MacAddress senderHwAddress; field in ArpPacket 54 ArpPacket(short opCode, MacAddress senderHwAddress, Inet4Address senderIp, in ArpPacket() argument 57 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()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/ |
D | ArpPacketTest.java | 165 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpProbePacket() 176 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpAnnouncePacket()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1577 && !Arrays.equals(packet.senderHwAddress.toByteArray(), mHwAddr)); in packetHasIpAddressConflict() 1586 final MacAddress senderMacAddress = packet.senderHwAddress; in hasIpAddressConflict()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1136 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac)); 1153 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac));
|