Searched refs:mInterfaceParams (Results 1 – 5 of 5) sorted by relevance
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpReachabilityMonitor.java | 183 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 …]
|
D | IpClient.java | 515 private InterfaceParams mInterfaceParams; field in IpClient 1139 mInterfaceName, (mInterfaceParams == null) ? -1 : mInterfaceParams.index, in getLogRecString() 1221 mNetd.setProcSysNet(INetd.IPV6, INetd.CONF, mInterfaceParams.name, "accept_ra", in setIpv6AcceptRa() 1523 final ByteBuffer packet = NeighborAdvertisement.build(mInterfaceParams.macAddr, dstMac, in sendGratuitousNA() 1527 mInterfaceParams.index, dstMac.toByteArray()); in sendGratuitousNA() 1534 mInterfaceParams.macAddr.toByteArray() /* srcMac */, in sendGratuitousARP() 1539 makePacketSocketAddress(ETH_P_ARP, mInterfaceParams.index); in sendGratuitousARP() 1583 + mInterfaceParams.macAddr); in maybeSendGratuitousARP() 1776 mInterfaceParams, in startIpReachabilityMonitor() 1824 if (mInterfaceParams == null || params.index != mInterfaceParams.index) { in maybeRestoreInterfaceMtu() [all …]
|
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | IpServer.java | 250 private InterfaceParams mInterfaceParams; field in IpServer 666 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6() 667 if (mInterfaceParams == null) { in startIPv6() 673 mRaDaemon = mDeps.getRouterAdvertisementDaemon(mInterfaceParams); in startIPv6() 683 mDadProxy = mDeps.getDadProxy(getHandler(), mInterfaceParams); in startIPv6() 690 mInterfaceParams = null; in stopIPv6() 936 mInterfaceParams.index, (Inet6Address) e.ip, mInterfaceParams.macAddr, dstMac); in updateIpv6ForwardingRules() 960 final ClientInfo clientInfo = new ClientInfo(mInterfaceParams.index, in updateClientInfoIpv4() 961 mInterfaceParams.macAddr, (Inet4Address) e.ip, clientMac); in updateClientInfoIpv4() 970 if (mInterfaceParams != null in handleNeighborEvent() [all …]
|
/packages/modules/NetworkStack/src/android/net/apf/ |
D | ApfFilter.java | 347 private final InterfaceParams mInterfaceParams; field in ApfFilter 393 mInterfaceParams = ifParams; in ApfFilter() 427 Log.d(TAG, "(" + mInterfaceParams.name + "): " + s); in log() 472 mHardwareAddress = mInterfaceParams.macAddr.toByteArray(); in maybeStartFilter() 486 SocketAddress addr = makePacketSocketAddress(ETH_P_IPV6, mInterfaceParams.index); in maybeStartFilter()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | IpClientTest.java | 136 @Mock private InterfaceParams mInterfaceParams; field in IpClientTest 154 when(mDependencies.getInterfaceParams(any())).thenReturn(mInterfaceParams); in setUp()
|