Searched refs:upstreamIface (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/Tethering/src/android/net/ip/ |
D | DadProxy.java | 51 public void setUpstreamIface(InterfaceParams upstreamIface) { in setUpstreamIface() argument 52 naForwarder.setUpstreamIface(upstreamIface); in setUpstreamIface() 53 nsForwarder.setUpstreamIface(upstreamIface); in setUpstreamIface()
|
D | IpServer.java | 724 String upstreamIface = null; in updateUpstreamIPv6LinkProperties() local 729 upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties() 730 upstreamIfaceParams = mDeps.getInterfaceParams(upstreamIface); in updateUpstreamIPv6LinkProperties() 738 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties() 758 mBpfCoordinator.addUpstreamNameToLookupTable(upstreamIfIndex, upstreamIface); in updateUpstreamIPv6LinkProperties() 1044 private byte getHopLimit(String upstreamIface, int adjustTTL) { in getHopLimit() argument 1047 mNetd.getProcSysNet(INetd.IPV6, INetd.CONF, upstreamIface, "hop_limit")); in getHopLimit() 1321 private void cleanupUpstreamInterface(String upstreamIface) { in cleanupUpstreamInterface() argument 1326 mBpfCoordinator.maybeDetachProgram(mIfaceName, upstreamIface); in cleanupUpstreamInterface() 1328 mNetd.ipfwdRemoveInterfaceForward(mIfaceName, upstreamIface); in cleanupUpstreamInterface() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 250 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument 252 initTetheredStateMachine(interfaceType, upstreamIface, false, in initTetheredStateMachine() 256 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument 260 if (upstreamIface != null) { in initTetheredStateMachine() 262 lp.setInterfaceName(upstreamIface); in initTetheredStateMachine() 263 dispatchTetherConnectionChanged(upstreamIface, lp, 0); in initTetheredStateMachine() 1361 private void dispatchTetherConnectionChanged(String upstreamIface, LinkProperties v6lp, in dispatchTetherConnectionChanged() argument 1363 dispatchTetherConnectionChanged(upstreamIface); in dispatchTetherConnectionChanged() 1368 private void dispatchTetherConnectionChanged(String upstreamIface) { in dispatchTetherConnectionChanged() argument 1369 final InterfaceSet ifs = (upstreamIface != null) ? new InterfaceSet(upstreamIface) : null; in dispatchTetherConnectionChanged()
|
/packages/modules/Connectivity/Tethering/tests/privileged/src/android/net/ip/ |
D | DadProxyTest.java | 129 final String upstreamIface = mUpstreamReader.iface.getInterfaceName(); in setupTapInterfaces() local 130 mUpstreamParams = InterfaceParams.getByName(upstreamIface); in setupTapInterfaces()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 686 public void addUpstreamNameToLookupTable(int upstreamIfindex, @NonNull String upstreamIface) { in addUpstreamNameToLookupTable() argument 689 if (upstreamIfindex == 0 || TextUtils.isEmpty(upstreamIface)) return; in addUpstreamNameToLookupTable() 691 if (isVcnInterface(upstreamIface)) return; in addUpstreamNameToLookupTable() 697 mInterfaceNames.put(upstreamIfindex, upstreamIface); in addUpstreamNameToLookupTable() 698 } else if (!TextUtils.equals(iface, upstreamIface)) { in addUpstreamNameToLookupTable() 699 Log.wtf(TAG, "The upstream interface name " + upstreamIface in addUpstreamNameToLookupTable()
|