Home
last modified time | relevance | path

Searched refs:mInterfaceParams (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java223 private final InterfaceParams mInterfaceParams;
267 mInterfaceParams = ifParams;
288 Preconditions.checkArgument(!TextUtils.isEmpty(mInterfaceParams.name));
304 if (mInterfaceParams.index != event.ifindex) return;
361 sb.append("iface{" + mInterfaceParams + "}," + sep);
414 if (!mInterfaceParams.name.equals(lp.getInterfaceName())) {
417 "' does not match: " + mInterfaceParams.name);
632 final int rval = IpNeighborMonitor.startKernelNeighborProbe(mInterfaceParams.index, ip);
690 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "retrans_time_ms",
692 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "ucast_solicit",
[all …]
DIpClient.java739 private InterfaceParams mInterfaceParams; field in IpClient
1545 mInterfaceName, (mInterfaceParams == null) ? -1 : mInterfaceParams.index, in getLogRecString()
2023 final ByteBuffer packet = NeighborAdvertisement.build(mInterfaceParams.macAddr, dstMac, in sendGratuitousNA()
2027 mInterfaceParams.index, dstMac.toByteArray()); in sendGratuitousNA()
2034 mInterfaceParams.macAddr.toByteArray() /* srcMac */, in sendGratuitousARP()
2039 makePacketSocketAddress(ETH_P_ARP, mInterfaceParams.index); in sendGratuitousARP()
2047 final ByteBuffer packet = NeighborSolicitation.build(mInterfaceParams.macAddr, dstMac, in sendMulticastNs()
2051 mInterfaceParams.index, dstMac.toByteArray()); in sendMulticastNs()
2102 + mInterfaceParams.macAddr); in maybeSendGratuitousARP()
2400 mDhcp6Client = mDependencies.makeDhcp6Client(mContext, IpClient.this, mInterfaceParams, in startDhcp6PrefixDelegation()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java281 private InterfaceParams mInterfaceParams; field in IpServer
729 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
730 if (mInterfaceParams == null) { in startIPv6()
736 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6()
744 mDadProxy = mDeps.getDadProxy(getHandler(), mInterfaceParams); in startIPv6()
751 mInterfaceParams = null; in stopIPv6()
979 mBpfCoordinator.updateAllIpv6Rules(this, this.mInterfaceParams, in updateIpv6ForwardingRules()
1000 mInterfaceParams.index, (Inet6Address) e.ip, mInterfaceParams.macAddr, dstMac); in addOrRemoveIpv6Downstream()
1020 final ClientInfo clientInfo = new ClientInfo(mInterfaceParams.index, in updateClientInfoIpv4()
1021 mInterfaceParams.macAddr, (Inet4Address) e.ip, clientMac); in updateClientInfoIpv4()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/ethernet/
DEthernetNetworkFactoryTest.java93 @Mock private InterfaceParams mInterfaceParams; field in EthernetNetworkFactoryTest
321 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testProvisioningLoss()
365 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testNetworkUnwantedWithStaleNetworkAgent()
441 when(mDeps.getNetworkInterfaceByName(TEST_IFACE)).thenReturn(mInterfaceParams); in testIgnoreOnIpLayerStoppedCallbackForStaleCallback()
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java247 private final InterfaceParams mInterfaceParams; field in ApfFilter
389 mInterfaceParams = ifParams; in ApfFilter()
536 Log.d(TAG, "(" + mInterfaceParams.name + "): " + s); in log()
580 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter()
597 SocketAddress addr = makePacketSocketAddress(ETH_P_IPV6, mInterfaceParams.index); in maybeStartFilter()
1829 addresses.addAll(mDependencies.getAnycast6Addresses(mInterfaceParams.name)); in getIpv6Addresses()
1837 addresses.addAll(mDependencies.getEtherMulticastAddresses(mInterfaceParams.name)); in getKnownMacAddresses()
1859 int tclass = mDependencies.getNdTrafficClass(mInterfaceParams.name); in generateNonDadNaTransmitLocked()
DLegacyApfFilter.java311 private final InterfaceParams mInterfaceParams; field in LegacyApfFilter
398 mInterfaceParams = ifParams; in LegacyApfFilter()
448 Log.d(TAG, "(" + mInterfaceParams.name + "): " + s); in log()
492 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter()
508 SocketAddress addr = makePacketSocketAddress(ETH_P_IPV6, mInterfaceParams.index); in maybeStartFilter()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java174 @Mock private InterfaceParams mInterfaceParams; field in IpClientTest
195 when(mDependencies.getInterfaceParams(any())).thenReturn(mInterfaceParams); in setUp()