Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/ip/
DIpReachabilityMonitor.java183 private final InterfaceParams mInterfaceParams;
214 mInterfaceParams = ifParams;
223 Preconditions.checkArgument(!TextUtils.isEmpty(mInterfaceParams.name));
236 if (mInterfaceParams.index != event.ifindex) return;
279 sb.append("iface{" + mInterfaceParams + "}," + sep);
300 if (!mInterfaceParams.name.equals(lp.getInterfaceName())) {
303 "' does not match: " + mInterfaceParams.name);
418 final int rval = IpNeighborMonitor.startKernelNeighborProbe(mInterfaceParams.index, ip);
463 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "retrans_time_ms",
465 mNetd.setProcSysNet(family, INetd.NEIGH, mInterfaceParams.name, "ucast_solicit",
[all …]
DIpClient.java473 private InterfaceParams mInterfaceParams; field in IpClient
1030 mInterfaceName, (mInterfaceParams == null) ? -1 : mInterfaceParams.index, in getLogRecString()
1542 mInterfaceParams, in startIpReachabilityMonitor()
1586 if (params.index != mInterfaceParams.index) { in maybeRestoreInterfaceMtu()
1591 if (params.defaultMtu == mInterfaceParams.defaultMtu) return; in maybeRestoreInterfaceMtu()
1594 mNetd.interfaceSetMtu(mInterfaceName, mInterfaceParams.defaultMtu); in maybeRestoreInterfaceMtu()
1597 + params.defaultMtu + " to " + mInterfaceParams.defaultMtu, e); in maybeRestoreInterfaceMtu()
1749 mDhcpClient = mDependencies.makeDhcpClient(mContext, IpClient.this, mInterfaceParams, in startDhcpClient()
1767 mInterfaceParams = mDependencies.getInterfaceParams(mInterfaceName); in enter()
1768 if (mInterfaceParams == null) { in enter()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java346 private final InterfaceParams mInterfaceParams; field in ApfFilter
392 mInterfaceParams = ifParams; in ApfFilter()
426 Log.d(TAG, "(" + mInterfaceParams.name + "): " + s); in log()
471 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter()
485 SocketAddress addr = makePacketSocketAddress(ETH_P_IPV6, mInterfaceParams.index); in maybeStartFilter()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java123 @Mock private InterfaceParams mInterfaceParams; field in IpClientTest
141 when(mDependencies.getInterfaceParams(any())).thenReturn(mInterfaceParams); in setUp()