Searched refs:upstreamIface (Results 1 – 6 of 6) 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 | 780 String upstreamIface = null; in updateUpstreamIPv6LinkProperties() local 785 upstreamIface = v6only.getInterfaceName(); in updateUpstreamIPv6LinkProperties() 786 upstreamIfaceParams = mDeps.getInterfaceParams(upstreamIface); in updateUpstreamIPv6LinkProperties() 794 if (params.hasDefaultRoute) params.hopLimit = getHopLimit(upstreamIface, ttlAdjustment); in updateUpstreamIPv6LinkProperties() 809 mBpfCoordinator.maybeAddUpstreamToLookupTable(upstreamIfIndex, upstreamIface); in updateUpstreamIPv6LinkProperties() 816 final boolean upstreamSupportsBpf = upstreamIface != null && !isVcnInterface(upstreamIface); in updateUpstreamIPv6LinkProperties() 1038 private byte getHopLimit(String upstreamIface, int adjustTTL) { in getHopLimit() argument 1041 mNetd.getProcSysNet(INetd.IPV6, INetd.CONF, upstreamIface, "hop_limit")); in getHopLimit() 1404 private void cleanupUpstreamInterface(String upstreamIface) { in cleanupUpstreamInterface() argument 1409 mBpfCoordinator.maybeDetachProgram(mIfaceName, upstreamIface); in cleanupUpstreamInterface() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 234 private void initTetheredStateMachine(int interfaceType, String upstreamIface) in initTetheredStateMachine() argument 236 initTetheredStateMachine(interfaceType, upstreamIface, NO_ADDRESSES, false, in initTetheredStateMachine() 240 private void initTetheredStateMachine(int interfaceType, String upstreamIface, in initTetheredStateMachine() argument 245 if (upstreamIface != null) { in initTetheredStateMachine() 246 InterfaceParams interfaceParams = mDependencies.getInterfaceParams(upstreamIface); in initTetheredStateMachine() 247 assertNotNull("missing upstream interface: " + upstreamIface, interfaceParams); in initTetheredStateMachine() 249 lp.setInterfaceName(upstreamIface); in initTetheredStateMachine() 251 dispatchTetherConnectionChanged(upstreamIface, lp, 0); in initTetheredStateMachine() 960 private void dispatchTetherConnectionChanged(String upstreamIface, LinkProperties v6lp, in dispatchTetherConnectionChanged() argument 962 dispatchTetherConnectionChanged(upstreamIface); in dispatchTetherConnectionChanged() [all …]
|
/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 | 812 public void maybeAddUpstreamToLookupTable(int upstreamIfindex, @Nullable String upstreamIface) { in maybeAddUpstreamToLookupTable() argument 815 if (upstreamIfindex == 0 || TextUtils.isEmpty(upstreamIface)) return; in maybeAddUpstreamToLookupTable() 817 if (isVcnInterface(upstreamIface)) return; in maybeAddUpstreamToLookupTable() 823 mInterfaceNames.put(upstreamIfindex, upstreamIface); in maybeAddUpstreamToLookupTable() 824 } else if (!TextUtils.equals(iface, upstreamIface)) { in maybeAddUpstreamToLookupTable() 825 Log.wtf(TAG, "The upstream interface name " + upstreamIface in maybeAddUpstreamToLookupTable()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 640 private void dispatchTetherConnectionChanged(IpServer ipServer, String upstreamIface, in dispatchTetherConnectionChanged() argument 642 dispatchTetherConnectionChanged(ipServer, upstreamIface); in dispatchTetherConnectionChanged() 647 private void dispatchTetherConnectionChanged(IpServer ipServer, String upstreamIface) { in dispatchTetherConnectionChanged() argument 648 final InterfaceSet ifs = (upstreamIface != null) ? new InterfaceSet(upstreamIface) : null; in dispatchTetherConnectionChanged()
|