Home
last modified time | relevance | path

Searched refs:TetherUpstream6Key (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherUpstream6Key.java28 public class TetherUpstream6Key extends Struct { class
38 public TetherUpstream6Key(int iif, @NonNull final MacAddress dstMac, final byte[] src64) { in TetherUpstream6Key() method in TetherUpstream6Key
DBpfCoordinator.java413 @Nullable public IBpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() { in getBpfUpstream6Map()
417 TetherUpstream6Key.class, Tether6Value.class); in getBpfUpstream6Map()
1279 private String ipv6UpstreamRuleToString(TetherUpstream6Key key, Tether6Value value) { in ipv6UpstreamRuleToString()
1286 try (IBpfMap<TetherUpstream6Key, Tether6Value> map = mDeps.getBpfUpstream6Map()) { in dumpIpv6UpstreamRules() argument
1563 public TetherUpstream6Key makeTetherUpstream6Key() { in makeTetherUpstream6Key()
1565 return new TetherUpstream6Key(downstreamIfindex, inDstMac, prefix64); in makeTetherUpstream6Key()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java482 private final IBpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map =
483 spy(new TestBpfMap<>(TetherUpstream6Key.class, Tether6Value.class));
548 public IBpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() {
795 ArrayMap<TetherUpstream6Key, Tether6Value> expected = new ArrayMap<>(); in verifyStartUpstreamIpv6Forwarding()
798 final TetherUpstream6Key key = new TetherUpstream6Key(DOWNSTREAM_IFACE_PARAMS.index, in verifyStartUpstreamIpv6Forwarding()
805 ArgumentCaptor<TetherUpstream6Key> keyCaptor = in verifyStartUpstreamIpv6Forwarding()
806 ArgumentCaptor.forClass(TetherUpstream6Key.class); in verifyStartUpstreamIpv6Forwarding()
811 List<TetherUpstream6Key> keys = keyCaptor.getAllValues(); in verifyStartUpstreamIpv6Forwarding()
813 ArrayMap<TetherUpstream6Key, Tether6Value> captured = new ArrayMap<>(); in verifyStartUpstreamIpv6Forwarding()
823 Set<TetherUpstream6Key> expected = new ArraySet<>(); in verifyStopUpstreamIpv6Forwarding()
[all …]
/packages/modules/Connectivity/bpf_progs/
Doffload.h140 } TetherUpstream6Key; typedef
141 STRUCT_SIZE(TetherUpstream6Key, 4 + 6 + 6 + 8); // 24
Doffload.c124 DEFINE_BPF_MAP_GRW(tether_upstream6_map, HASH, TetherUpstream6Key, Tether6Value, 64,
199 TetherUpstream6Key ku = {
Doffload@mainline.c124 DEFINE_BPF_MAP_GRW(tether_upstream6_map, HASH, TetherUpstream6Key, Tether6Value, 64,
199 TetherUpstream6Key ku = {
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java49 import com.android.networkstack.tethering.TetherUpstream6Key;
83 private final IBpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map;
173 final TetherUpstream6Key key = rule.makeTetherUpstream6Key(); in addIpv6UpstreamRule()