Home
last modified time | relevance | path

Searched refs:upstreamIndex (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java935 for (final int upstreamIndex : upstreamIndiceSet) { in tetherOffloadRuleClear()
936 maybeClearLimit(upstreamIndex); in tetherOffloadRuleClear()
1000 int upstreamIndex = 0; in updateUpstreamNetworkState() local
1014 upstreamIndex = params.index; in updateUpstreamNetworkState()
1017 if (mLastIPv4UpstreamIfindex == upstreamIndex) return; in updateUpstreamNetworkState()
1034 mLastIPv4UpstreamIfindex = upstreamIndex; in updateUpstreamNetworkState()
1039 if (upstreamIndex == 0) { in updateUpstreamNetworkState()
1045 mIpv4UpstreamInfo = new UpstreamInfo(upstreamIndex, mtu); in updateUpstreamNetworkState()
1049 mIpv4UpstreamIndices.put((Inet4Address) addr, upstreamIndex); in updateUpstreamNetworkState() local
1958 @NonNull ConntrackEvent e, @NonNull ClientInfo c, int upstreamIndex) { in makeTetherDownstream4Key() argument
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java2699 Integer upstreamIndex = ipv4UpstreamIndices.get(PUBLIC_ADDR); in verifyIpv4Upstream() local
2700 assertNotNull(upstreamIndex); in verifyIpv4Upstream()
2701 assertEquals(UPSTREAM_IFINDEX, upstreamIndex.intValue()); in verifyIpv4Upstream()