| /packages/modules/Connectivity/Tethering/apishim/common/com/android/networkstack/tethering/apishim/common/ |
| D | BpfCoordinatorShim.java | 25 import com.android.net.module.util.bpf.Tether4Key; 146 public abstract boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() 156 public abstract boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key); in tetherOffloadRuleRemove() 167 @NonNull ThrowingBiConsumer<Tether4Key, Tether4Value> action); in tetherOffloadRuleForEach() argument
|
| /packages/modules/Connectivity/Tethering/apishim/30/com/android/networkstack/tethering/apishim/api30/ |
| D | BpfCoordinatorShimImpl.java | 30 import com.android.net.module.util.bpf.Tether4Key; 149 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() 156 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() 163 @NonNull ThrowingBiConsumer<Tether4Key, Tether4Value> action) { in tetherOffloadRuleForEach() argument
|
| /packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
| D | BpfCoordinatorTest.java | 125 import com.android.net.module.util.bpf.Tether4Key; 317 public Tether4Key build() { in build() 318 return new Tether4Key(mIif, mDstMac, mL4proto, mSrc4, mDst4, mSrcPort, mDstPort); in build() 341 public Tether4Key build() { in build() 342 return new Tether4Key(mIif, mDstMac, mL4proto, mSrc4, mDst4, mSrcPort, mDstPort); in build() 475 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map = 476 spy(new TestBpfMap<>(Tether4Key.class, Tether4Value.class)); 477 private final IBpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map = 478 spy(new TestBpfMap<>(Tether4Key.class, Tether4Value.class)); 537 public IBpfMap<Tether4Key, Tether4Value> getBpfDownstream4Map() { [all …]
|
| /packages/modules/Connectivity/Tethering/apishim/31/com/android/networkstack/tethering/apishim/api31/ |
| D | BpfCoordinatorShimImpl.java | 36 import com.android.net.module.util.bpf.Tether4Key; 72 private final IBpfMap<Tether4Key, Tether4Value> mBpfDownstream4Map; 76 private final IBpfMap<Tether4Key, Tether4Value> mBpfUpstream4Map; 363 public boolean tetherOffloadRuleAdd(boolean downstream, @NonNull Tether4Key key, in tetherOffloadRuleAdd() 394 public boolean tetherOffloadRuleRemove(boolean downstream, @NonNull Tether4Key key) { in tetherOffloadRuleRemove() 430 @NonNull ThrowingBiConsumer<Tether4Key, Tether4Value> action) { in tetherOffloadRuleForEach() argument
|
| /packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
| D | BpfCoordinator.java | 77 import com.android.net.module.util.bpf.Tether4Key; 403 @Nullable public IBpfMap<Tether4Key, Tether4Value> getBpfDownstream4Map() { in getBpfDownstream4Map() 407 Tether4Key.class, Tether4Value.class); in getBpfDownstream4Map() 415 @Nullable public IBpfMap<Tether4Key, Tether4Value> getBpfUpstream4Map() { in getBpfUpstream4Map() 419 Tether4Key.class, Tether4Value.class); in getBpfUpstream4Map() 1057 final Set<Tether4Key> deleteUpstreamRuleKeys = new ArraySet<Tether4Key>(); in tetherOffloadRuleClear() 1058 final Set<Tether4Key> deleteDownstreamRuleKeys = new ArraySet<Tether4Key>(); in tetherOffloadRuleClear() 1084 for (final Tether4Key k : deleteUpstreamRuleKeys) { in tetherOffloadRuleClear() 1087 for (final Tether4Key k : deleteDownstreamRuleKeys) { in tetherOffloadRuleClear() 1533 try (IBpfMap<Tether4Key, Tether4Value> upstreamMap = mDeps.getBpfUpstream4Map()) { in dumpRawMap() argument [all …]
|
| /packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/ |
| D | Tether4Key.java | 32 public class Tether4Key extends Struct { class 54 public Tether4Key(final int iif, @NonNull final MacAddress dstMac, final short l4proto, in Tether4Key() method in Tether4Key
|
| /packages/modules/Connectivity/bpf/progs/ |
| D | offload.h | 151 } Tether4Key; typedef 152 STRUCT_SIZE(Tether4Key, 4 + 6 + 2 + 4 + 4 + 2 + 2); // 24
|
| D | offload.c | 302 DEFINE_BPF_MAP_GRW(tether_downstream4_map, HASH, Tether4Key, Tether4Value, 1024, AID_NETWORK_STACK) 304 DEFINE_BPF_MAP_GRW(tether_upstream4_map, HASH, Tether4Key, Tether4Value, 1024, AID_NETWORK_STACK) 359 Tether4Key k = { in do_forward4_bottom()
|
| D | offload@mainline.c | 302 DEFINE_BPF_MAP_GRW(tether_downstream4_map, HASH, Tether4Key, Tether4Value, 1024, AID_NETWORK_STACK) 304 DEFINE_BPF_MAP_GRW(tether_upstream4_map, HASH, Tether4Key, Tether4Value, 1024, AID_NETWORK_STACK) 359 Tether4Key k = { in do_forward4_bottom()
|
| /packages/modules/Connectivity/Tethering/tests/integration/src/android/net/ |
| D | EthernetTetheringTest.java | 82 import com.android.net.module.util.bpf.Tether4Key; 1015 final HashMap<Tether4Key, Tether4Value> upstreamMap = pollRawMapFromDump( in runUdp4Test() 1016 Tether4Key.class, Tether4Value.class, Context.TETHERING_SERVICE, upstreamArgs); in runUdp4Test() 1020 final Map.Entry<Tether4Key, Tether4Value> rule = in runUdp4Test() 1023 final Tether4Key upstream4Key = rule.getKey(); in runUdp4Test()
|