Searched refs:Ipv6UpstreamRule (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/ |
D | BpfCoordinatorShim.java | 30 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/ |
D | BpfCoordinatorShimImpl.java | 35 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/ |
D | BpfCoordinator.java | 266 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/ |
D | BpfCoordinatorTest.java | 145 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/ |
D | BpfCoordinatorShimImpl.java | 41 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()
|