Home
last modified time | relevance | path

Searched refs:Ipv6UpstreamRule (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/
DBpfCoordinatorShim.java30 import com.android.networkstack.tethering.BpfCoordinator.Ipv6UpstreamRule;
65 public abstract boolean addIpv6UpstreamRule(@NonNull Ipv6UpstreamRule rule); in addIpv6UpstreamRule()
76 public abstract boolean removeIpv6UpstreamRule(@NonNull Ipv6UpstreamRule rule); in removeIpv6UpstreamRule()
/packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/
DBpfCoordinatorShimImpl.java35 import com.android.networkstack.tethering.BpfCoordinator.Ipv6UpstreamRule;
60 public boolean addIpv6UpstreamRule(@NonNull final Ipv6UpstreamRule rule) { in addIpv6UpstreamRule()
65 public boolean removeIpv6UpstreamRule(@NonNull final Ipv6UpstreamRule rule) { in removeIpv6UpstreamRule()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java266 private final ArrayMap<IpServer, ArraySet<Ipv6UpstreamRule>>
636 @NonNull final IpServer ipServer, @NonNull final Ipv6UpstreamRule rule) { in addIpv6UpstreamRule()
651 ArraySet<Ipv6UpstreamRule> rules = mIpv6UpstreamRules.computeIfAbsent( in addIpv6UpstreamRule()
652 ipServer, k -> new ArraySet<Ipv6UpstreamRule>()); in addIpv6UpstreamRule()
664 final ArraySet<Ipv6UpstreamRule> upstreamRules = mIpv6UpstreamRules.remove(ipServer); in clearIpv6UpstreamRules()
668 for (Ipv6UpstreamRule rule: upstreamRules) { in clearIpv6UpstreamRules()
793 addIpv6UpstreamRule(ipServer, new Ipv6UpstreamRule( in updateAllIpv6Rules()
1502 public static class Ipv6UpstreamRule { class in BpfCoordinator
1548 public Ipv6UpstreamRule(int upstreamIfindex, int downstreamIfindex, in Ipv6UpstreamRule() method in BpfCoordinator.Ipv6UpstreamRule
1579 if (!(o instanceof Ipv6UpstreamRule)) return false; in equals()
[all …]
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java145 import com.android.networkstack.tethering.BpfCoordinator.Ipv6UpstreamRule;
851 @NonNull Ipv6UpstreamRule rule) throws Exception { in verifyAddUpstreamRule()
858 @NonNull Set<Ipv6UpstreamRule> rules) throws Exception { in verifyAddUpstreamRules()
861 for (Ipv6UpstreamRule rule : rules) { in verifyAddUpstreamRules()
907 @NonNull final Ipv6UpstreamRule rule) throws Exception { in verifyRemoveUpstreamRule()
914 @NonNull Set<Ipv6UpstreamRule> rules) throws Exception { in verifyRemoveUpstreamRules()
917 for (Ipv6UpstreamRule rule : rules) { in verifyRemoveUpstreamRules()
1019 final Ipv6UpstreamRule upstreamRule = buildTestUpstreamRule( in checkTetherOffloadRuleAddAndRemove()
1264 private static Ipv6UpstreamRule buildTestUpstreamRule(int upstreamIfindex, in buildTestUpstreamRule()
1266 return new Ipv6UpstreamRule(upstreamIfindex, downstreamIfindex, sourcePrefix, inDstMac, in buildTestUpstreamRule()
[all …]
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java41 import com.android.networkstack.tethering.BpfCoordinator.Ipv6UpstreamRule;
169 public boolean addIpv6UpstreamRule(@NonNull final Ipv6UpstreamRule rule) { in addIpv6UpstreamRule()
186 public boolean removeIpv6UpstreamRule(@NonNull final Ipv6UpstreamRule rule) { in removeIpv6UpstreamRule()