Home
last modified time | relevance | path

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

/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
H A DBpfMapTest.java56 private ArrayMap<TetherDownstream6Key, Tether6Value> mTestData;
58 private BpfMap<TetherDownstream6Key, Tether6Value> mTestMap;
84 TetherDownstream6Key.class, Tether6Value.class); in initTestMap()
115 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
125 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
135 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
167 final TetherDownstream6Key nonexistentKey = in testGetNextKey()
193 TetherDownstream6Key nextKey = mTestMap.getFirstKey(); in testGetNextKey()
214 final TetherDownstream6Key key = mTestData.keyAt(0); in testUpdateEntry()
237 final TetherDownstream6Key key = mTestData.keyAt(0); in testInsertOrReplaceEntry()
[all …]
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetherDownstream6Key.java34 public class TetherDownstream6Key extends Struct { class
44 public TetherDownstream6Key(final long iif, @NonNull final MacAddress dstMac, in TetherDownstream6Key() method in TetherDownstream6Key
H A DBpfCoordinator.java329 @Nullable public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in getBpfDownstream6Map()
333 BpfMap.BPF_F_RDWR, TetherDownstream6Key.class, Tether6Value.class); in getBpfDownstream6Map()
1286 public TetherDownstream6Key makeTetherDownstream6Key() { in makeTetherDownstream6Key()
1287 return new TetherDownstream6Key(upstreamIfindex, NULL_MAC_ADDRESS, in makeTetherDownstream6Key()
/aosp12/packages/modules/Connectivity/Tethering/bpf_progs/
H A Dbpf_tethering.h114 } TetherDownstream6Key; typedef
115 STRUCT_SIZE(TetherDownstream6Key, 4 + 6 + 2 + 16); // 28
H A Dtest.c26 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 16,
H A Doffload.c99 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 64,
171 TetherDownstream6Key kd = {
/aosp12/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
H A DBpfCoordinatorShimImpl.java41 import com.android.networkstack.tethering.TetherDownstream6Key;
77 private final BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
170 final TetherDownstream6Key key = rule.makeTetherDownstream6Key(); in tetherOffloadRuleAdd()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
H A DIpServerTest.java112 import com.android.networkstack.tethering.TetherDownstream6Key;
187 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
327 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in setUp()
854 private static TetherDownstream6Key makeDownstream6Key(int upstreamIfindex, in makeDownstream6Key()
856 return new TetherDownstream6Key(upstreamIfindex, upstreamMac, dst.getAddress()); in makeDownstream6Key()
/aosp12/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
H A DBpfCoordinatorTest.java218 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
285 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() {
793 final TetherDownstream6Key key = rule.makeTetherDownstream6Key(); in testRuleMakeTetherDownstream6Key()