Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
DBpfMapTest.java58 private ArrayMap<TetherDownstream6Key, Tether6Value> mTestData;
60 private BpfMap<TetherDownstream6Key, Tether6Value> mTestMap;
86 TetherDownstream6Key.class, Tether6Value.class); in initTestMap()
99 private TetherDownstream6Key createTetherDownstream6Key(long iif, String mac, in createTetherDownstream6Key()
104 return new TetherDownstream6Key(iif, dstMac, ipv6Address.getAddress()); in createTetherDownstream6Key()
117 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
127 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
137 TetherDownstream6Key.class, Tether6Value.class)) { in testGetFd()
169 final TetherDownstream6Key nonexistentKey = in testGetNextKey()
180 final ArrayMap<TetherDownstream6Key, Tether6Value> resultMap = in testGetNextKey()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherDownstream6Key.java34 public class TetherDownstream6Key extends Struct { class
44 public TetherDownstream6Key(final long iif, @NonNull final MacAddress dstMac, in TetherDownstream6Key() method in TetherDownstream6Key
DBpfCoordinator.java350 @Nullable public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in getBpfDownstream6Map()
354 BpfMap.BPF_F_RDWR, TetherDownstream6Key.class, Tether6Value.class); in getBpfDownstream6Map()
1360 public TetherDownstream6Key makeTetherDownstream6Key() { in makeTetherDownstream6Key()
1361 return new TetherDownstream6Key(upstreamIfindex, NULL_MAC_ADDRESS, in makeTetherDownstream6Key()
/packages/modules/Connectivity/bpf_progs/
Dbpf_tethering.h100 } TetherDownstream6Key; typedef
101 STRUCT_SIZE(TetherDownstream6Key, 4 + 6 + 2 + 16); // 28
Dtest.c29 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 16,
Doffload.c102 DEFINE_BPF_MAP_GRW(tether_downstream6_map, HASH, TetherDownstream6Key, Tether6Value, 64,
174 TetherDownstream6Key kd = {
/packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/
DBpfCoordinatorShimImpl.java44 import com.android.networkstack.tethering.TetherDownstream6Key;
77 private final BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
170 final TetherDownstream6Key key = rule.makeTetherDownstream6Key(); in tetherOffloadRuleAdd()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java114 import com.android.networkstack.tethering.TetherDownstream6Key;
191 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
335 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() { in setUp()
878 private static TetherDownstream6Key makeDownstream6Key(int upstreamIfindex, in makeDownstream6Key()
880 return new TetherDownstream6Key(upstreamIfindex, upstreamMac, dst.getAddress()); in makeDownstream6Key()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java361 @Mock private BpfMap<TetherDownstream6Key, Tether6Value> mBpfDownstream6Map;
433 public BpfMap<TetherDownstream6Key, Tether6Value> getBpfDownstream6Map() {
943 final TetherDownstream6Key key = rule.makeTetherDownstream6Key(); in testRuleMakeTetherDownstream6Key()