Searched refs:senderHwAddress (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/arp/ |
D | ArpPacket.java | 53 public final MacAddress senderHwAddress; field in ArpPacket 56 ArpPacket(MacAddress destination, MacAddress source, short opCode, MacAddress senderHwAddress, in ArpPacket() argument 61 this.senderHwAddress = senderHwAddress; in ArpPacket() 142 byte[] senderHwAddress = new byte[ETHER_ADDR_LEN]; in parseArpPacket() 144 buffer.get(senderHwAddress); in parseArpPacket() 154 MacAddress.fromBytes(senderHwAddress), in parseArpPacket()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | ArpPacketTest.java | 171 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpProbePacket() 184 assertEquals(packet.senderHwAddress, MacAddress.fromBytes(TEST_SENDER_MAC_ADDR)); in testParseArpAnnouncePacket()
|
/packages/modules/Connectivity/Tethering/tests/integration/base/android/net/ |
D | TetheringTester.java | 284 arpPacket.senderHwAddress.toByteArray() /* dst */, in maybeReplyArp() 287 arpPacket.senderHwAddress.toByteArray() /* target HW address */, in maybeReplyArp() 316 return arpReply.senderHwAddress; in getRouterMacAddressFromArp()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1580 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac)); 1599 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac)); 1606 assertTrue(Arrays.equals(packet.senderHwAddress.toByteArray(), mClientMac)); 1910 sendArpReply(request.senderHwAddress.toByteArray() /* dst */, ROUTER_MAC_BYTES /* srcMac */, 4221 sendArpReply(request.senderHwAddress.toByteArray() /* dst */, ROUTER_MAC_BYTES /* srcMac */, 4228 sendArpReply(request.senderHwAddress.toByteArray() /* dst */, 5889 sendArpReply(request.senderHwAddress.toByteArray() /* dst */, ROUTER_MAC_BYTES /* srcMac */,
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1615 && !Arrays.equals(packet.senderHwAddress.toByteArray(), mHwAddr)); in packetHasIpAddressConflict() 1624 final MacAddress senderMacAddress = packet.senderHwAddress; in hasIpAddressConflict()
|