Home
last modified time | relevance | path

Searched refs:Tether6Value (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java56 private ArrayMap<TetherDownstream6Key, Tether6Value> mTestData;
58 private BpfMap<TetherDownstream6Key, Tether6Value> mTestMap;
84 TetherDownstream6Key.class, Tether6Value.class); in initTestMap()
105 private Tether6Value createTether6Value(int oif, String src, String dst, int proto, int pmtu) { in createTether6Value()
109 return new Tether6Value(oif, dstMac, srcMac, proto, pmtu); in createTether6Value()
115 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
125 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
135 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
178 final ArrayMap<TetherDownstream6Key, Tether6Value> resultMap = in testGetNextKey()
215 final Tether6Value value = mTestData.valueAt(0); in testUpdateEntry()
[all …]
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java38 import com.android.networkstack.tethering.Tether6Value;
77 private final BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
81 private final BpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map;
171 final Tether6Value value = rule.makeTether6Value(); in tetherOffloadRuleAdd()
206 final Tether6Value value = new Tether6Value(upstreamIfindex, outSrcMac, in startUpstreamIpv6Forwarding()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether6Value.java28 public class Tether6Value extends Struct { class
43 public Tether6Value(final int oif, @NonNull final MacAddress ethDstMac, in Tether6Value() method in Tether6Value
DBpfCoordinator.java329 @Nullable public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in getBpfDownstream6Map()
333 BpfMap.BPF_F_RDWR, TetherDownstream6Key.class, Tether6Value.class); in getBpfDownstream6Map()
341 @Nullable public BpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() { in getBpfUpstream6Map()
345 TetherUpstream6Key.class, Tether6Value.class); in getBpfUpstream6Map()
1038 private String ipv6UpstreamRuletoString(TetherUpstream6Key key, Tether6Value value) { in ipv6UpstreamRuletoString()
1045 try (BpfMap<TetherUpstream6Key, Tether6Value> map = mDeps.getBpfUpstream6Map()) { in dumpIpv6UpstreamRules()
1295 public Tether6Value makeTether6Value() { in makeTether6Value()
1296 return new Tether6Value(downstreamIfindex, dstMac, srcMac, ETH_P_IPV6, in makeTether6Value()
/packages/modules/Connectivity/Tethering/bpf_progs/
Dbpf_tethering.h121 } Tether6Value; typedef
122 STRUCT_SIZE(Tether6Value, 4 + 14 + 2); // 20
Doffload.c99 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 64,
105 DEFINE_BPF_MAP_GRW(tether_upstream6_map, HASH, TetherUpstream6Key, Tether6Value, 64,
181 Tether6Value* v = downstream ? bpf_tether_downstream6_map_lookup_elem(&kd)
Dtest.c26 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 16,
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java109 import com.android.networkstack.tethering.Tether6Value;
187 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
188 @Mock private BpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map;
327 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in setUp()
332 public BpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() { in setUp()
860 private static Tether6Value makeDownstream6Value(@NonNull final MacAddress dstMac) { in makeDownstream6Value()
861 return new Tether6Value(TEST_IFACE_PARAMS.index, dstMac, in makeDownstream6Value()
934 final Tether6Value value = new Tether6Value(upstreamIfindex, in verifyStartUpstreamIpv6Forwarding()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java218 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
219 @Mock private BpfMap<TetherUpstream6Key, Tether6Value> mBpfUpstream6Map;
285 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() {
290 public BpfMap<TetherUpstream6Key, Tether6Value> getBpfUpstream6Map() {
448 final Tether6Value value = new Tether6Value(upstreamIfindex, in verifyStartUpstreamIpv6Forwarding()
806 final Tether6Value value = rule.makeTether6Value(); in testRuleMakeTether6Value()