Home
last modified time | relevance | path

Searched refs:Ipv6ForwardingRule (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java146 private final HashMap<IpServer, LinkedHashMap<Inet6Address, Ipv6ForwardingRule>>
240 @NonNull final IpServer ipServer, @NonNull final Ipv6ForwardingRule rule) { in tetherOffloadRuleAdd()
253 Ipv6ForwardingRule>()); in tetherOffloadRuleAdd()
255 LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get(ipServer); in tetherOffloadRuleAdd()
281 @NonNull final IpServer ipServer, @NonNull final Ipv6ForwardingRule rule) { in tetherOffloadRuleRemove()
292 LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get(ipServer); in tetherOffloadRuleRemove()
329 final LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get( in tetherOffloadRuleClear()
334 for (final Ipv6ForwardingRule rule : new ArrayList<Ipv6ForwardingRule>(rules.values())) { in tetherOffloadRuleClear()
346 final LinkedHashMap<Inet6Address, Ipv6ForwardingRule> rules = mIpv6ForwardingRules.get( in tetherOffloadRuleUpdate()
351 for (final Ipv6ForwardingRule rule : new ArrayList<Ipv6ForwardingRule>(rules.values())) { in tetherOffloadRuleUpdate()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java65 import com.android.networkstack.tethering.BpfCoordinator.Ipv6ForwardingRule;
306 TetherOffloadRuleParcelMatcher(@NonNull Ipv6ForwardingRule rule) { in TetherOffloadRuleParcelMatcher()
330 private TetherOffloadRuleParcel matches(@NonNull Ipv6ForwardingRule rule) { in matches()
335 private static Ipv6ForwardingRule buildTestForwardingRule( in buildTestForwardingRule()
337 return new Ipv6ForwardingRule(upstreamIfindex, DOWNSTREAM_IFINDEX, (Inet6Address) address, in buildTestForwardingRule()
354 final Ipv6ForwardingRule rule = buildTestForwardingRule(mobileIfIndex, NEIGH_A, MAC_A); in testSetDataLimit()
402 final Ipv6ForwardingRule ruleA = buildTestForwardingRule(mobileIfIndex, NEIGH_A, MAC_A); in testSetDataLimitOnRuleChange()
409 final Ipv6ForwardingRule ruleB = buildTestForwardingRule(mobileIfIndex, NEIGH_B, MAC_B); in testSetDataLimitOnRuleChange()
452 final Ipv6ForwardingRule ethernetRuleA = buildTestForwardingRule( in testTetherOffloadRuleUpdateAndClear()
454 final Ipv6ForwardingRule ethernetRuleB = buildTestForwardingRule( in testTetherOffloadRuleUpdateAndClear()
[all …]
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java68 import com.android.networkstack.tethering.BpfCoordinator.Ipv6ForwardingRule;
846 private void addIpv6ForwardingRule(Ipv6ForwardingRule rule) { in addIpv6ForwardingRule()
855 private void removeIpv6ForwardingRule(Ipv6ForwardingRule rule) { in removeIpv6ForwardingRule()
905 Ipv6ForwardingRule rule = new Ipv6ForwardingRule(upstreamIfindex, in updateIpv6ForwardingRules()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java99 import com.android.networkstack.tethering.BpfCoordinator.Ipv6ForwardingRule;
716 private static Ipv6ForwardingRule makeForwardingRule( in makeForwardingRule()
718 return new Ipv6ForwardingRule(upstreamIfindex, TEST_IFACE_PARAMS.index, in makeForwardingRule()