/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 557 if (!mBpfCoordinatorShim.startUpstreamIpv6Forwarding(downstream, upstream, rule.srcMac, in tetherOffloadRuleAdd() 599 rule.srcMac)) { in tetherOffloadRuleRemove() 1032 downstreamIface, rule.address.getHostAddress(), rule.srcMac, rule.dstMac)); in dumpIpv6ForwardingRules() 1245 public final MacAddress srcMac; field in BpfCoordinator.Ipv6ForwardingRule 1250 @NonNull Inet6Address address, @NonNull MacAddress srcMac, in Ipv6ForwardingRule() argument 1255 this.srcMac = srcMac; in Ipv6ForwardingRule() 1262 return new Ipv6ForwardingRule(newUpstreamIfindex, downstreamIfindex, address, srcMac, in onNewUpstream() 1277 parcel.srcL2Address = srcMac.toByteArray(); in toTetherOffloadRuleParcel() 1296 return new Tether6Value(downstreamIfindex, dstMac, srcMac, ETH_P_IPV6, in makeTether6Value() 1307 && Objects.equals(this.srcMac, that.srcMac) in equals() [all …]
|
/packages/modules/NetworkStack/src/com/android/networkstack/packets/ |
D | NeighborAdvertisement.java | 91 public static ByteBuffer build(@NonNull final MacAddress srcMac, in build() argument 94 final ByteBuffer tlla = LlaOption.build((byte) ICMPV6_ND_OPTION_TLLA, srcMac); in build() 95 return Ipv6Utils.buildNaPacket(srcMac, dstMac, srcIp, dstIp, flags, target, tlla); in build()
|
/packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
D | ArpPacket.java | 67 public static ByteBuffer buildArpPacket(final byte[] dstMac, final byte[] srcMac, in buildArpPacket() argument 74 buf.put(srcMac); in buildArpPacket() 83 buf.put(srcMac); // sha in buildArpPacket()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | RouterAdvertisementDaemonTest.java | 300 final MacAddress srcMac = mTetheredParams.macAddr; in createRsPacket() local 301 final ByteBuffer slla = LlaOption.build((byte) ICMPV6_ND_OPTION_SLLA, srcMac); in createRsPacket() 303 return Ipv6Utils.buildRsPacket(srcMac, dstMac, (Inet6Address) InetAddress.getByName(srcIp), in createRsPacket()
|
D | DadProxyTest.java | 153 final MacAddress srcMac = MacAddress.fromString("33:33:ff:66:77:88"); in createDadPacket() local 154 buf.put(srcMac.toByteArray()); in createDadPacket()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | ConnectivityPacketSummary.java | 135 final ByteBuffer srcMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther() local 136 sj.add(ByteBuffer.wrap(mHwAddr).equals(srcMac) ? "TX" : "RX"); in parseEther() 137 sj.add(getMacAddressString(srcMac)); in parseEther()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/ |
D | BpfMapTest.java | 106 final MacAddress srcMac = MacAddress.fromString(src); in createTether6Value() local 109 return new Tether6Value(oif, dstMac, srcMac, proto, pmtu); in createTether6Value()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 750 public final MacAddress srcMac; field in BpfCoordinatorTest.TetherOffloadRuleParcelMatcher 757 srcMac = rule.srcMac; in TetherOffloadRuleParcelMatcher() 766 && Arrays.equals(srcMac.toByteArray(), parcel.srcL2Address) in matches() 772 upstreamIfindex, downstreamIfindex, address.getHostAddress(), srcMac, dstMac); in toString()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/packets/ |
D | NeighborAdvertisementTest.java | 173 assertArrayEquals(TEST_SOURCE_MAC_ADDR, na.ethHdr.srcMac.toByteArray()); in testGratuitousNa_parse()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 3831 byte[] srcMac = NativeUtil.macAddressToByteArray(getMacAddress(ifaceName)); 3833 ifaceName, slot, srcMac, dstMac, packet, protocol, period);
|
D | WifiVendorHal.java | 2512 @NonNull String ifaceName, int slot, byte[] srcMac, byte[] dstMac, in startSendingOffloadedPacket() argument 2526 srcMac, in startSendingOffloadedPacket()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 1527 final MacAddress srcMac = MacAddress.fromString("01:02:03:04:05:06"); 1531 return Ipv6Utils.buildRaPacket(srcMac, dstMac, routerLinkLocal,
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiVendorHalTest.java | 1723 byte[] srcMac = NativeUtil.macAddressToByteArray("4007b2088c81"); in testStartSendingOffloadedPacket() 1739 TEST_IFACE_NAME, slot, srcMac, dstMac, kap.getPacket(), in testStartSendingOffloadedPacket()
|