Home
last modified time | relevance | path

Searched refs:dstMac (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java449 downstreamIface, rule.address, rule.srcMac, rule.dstMac)); in dumpIpv6ForwardingRules()
465 public final MacAddress dstMac; field in BpfCoordinator.Ipv6ForwardingRule
469 @NonNull MacAddress dstMac) { in Ipv6ForwardingRule() argument
474 this.dstMac = dstMac; in Ipv6ForwardingRule()
481 dstMac); in onNewUpstream()
496 parcel.dstL2Address = dstMac.toByteArray(); in toTetherOffloadRuleParcel()
508 && Objects.equals(this.dstMac, that.dstMac); in equals()
515 return Objects.hash(upstreamIfindex, downstreamIfindex, address, srcMac, dstMac); in hashCode()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java304 public final MacAddress dstMac; field in BpfCoordinatorTest.TetherOffloadRuleParcelMatcher
311 dstMac = rule.dstMac; in TetherOffloadRuleParcelMatcher()
320 && Arrays.equals(dstMac.toByteArray(), parcel.dstL2Address); in matches()
325 upstreamIfindex, downstreamIfindex, address.getHostAddress(), srcMac, dstMac); in toString()
336 int upstreamIfindex, @NonNull InetAddress address, @NonNull MacAddress dstMac) { in buildTestForwardingRule() argument
338 DOWNSTREAM_MAC, dstMac); in buildTestForwardingRule()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java686 public final MacAddress dstMac; field in IpServerTest.TetherOffloadRuleParcelMatcher
688 TetherOffloadRuleParcelMatcher(int upstreamIfindex, InetAddress dst, MacAddress dstMac) { in TetherOffloadRuleParcelMatcher() argument
691 this.dstMac = dstMac; in TetherOffloadRuleParcelMatcher()
700 && Arrays.equals(dstMac.toByteArray(), parcel.dstL2Address); in matches()
705 upstreamIfindex, dst.getHostAddress(), dstMac); in toString()
711 int upstreamIfindex, InetAddress dst, MacAddress dstMac) { in matches() argument
712 return argThat(new TetherOffloadRuleParcelMatcher(upstreamIfindex, dst, dstMac)); in matches()
717 int upstreamIfindex, @NonNull InetAddress dst, @NonNull MacAddress dstMac) { in makeForwardingRule() argument
719 (Inet6Address) dst, TEST_IFACE_PARAMS.macAddr, dstMac); in makeForwardingRule()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java280 String dstMac = event.dstHwAddr.toString(); in onWakeupEvent() local
282 uid, iface, ethertype, dstMac, srcIp, dstIp, ipNextHeader, srcPort, dstPort); in onWakeupEvent()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java904 MacAddress dstMac = e.isValid() ? e.macAddr : NULL_MAC_ADDRESS; in updateIpv6ForwardingRules() local
906 mInterfaceParams.index, (Inet6Address) e.ip, mInterfaceParams.macAddr, dstMac); in updateIpv6ForwardingRules()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNative.java3104 byte[] dstMac, byte[] packet, int protocol, int period) { in startSendingOffloadedPacket() argument
3107 ifaceName, slot, srcMac, dstMac, packet, protocol, period); in startSendingOffloadedPacket()
DWifiVendorHal.java1937 @NonNull String ifaceName, int slot, byte[] srcMac, byte[] dstMac, in startSendingOffloadedPacket() argument
1952 dstMac, in startSendingOffloadedPacket()
DClientModeImpl.java1318 byte[] dstMac = null; in startWifiIPPacketOffload()
1323 dstMac = getDstMacForKeepalive(packetData); in startWifiIPPacketOffload()
1330 mInterfaceName, slot, dstMac, packet, proto, intervalSeconds * 1000); in startWifiIPPacketOffload()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java1171 byte[] dstMac = NativeUtil.macAddressToByteArray("4007b8675309"); in testStartSendingOffloadedPacket()
1186 TEST_IFACE_NAME, slot, srcMac, dstMac, kap.getPacket(), in testStartSendingOffloadedPacket()