Home
last modified time | relevance | path

Searched refs:DOWNSTREAM (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/bpf_progs/
Doffload.c308 return do_forward6(skb, ETHER, DOWNSTREAM, KVER_NONE);
334 return do_forward6(skb, RAWIP, DOWNSTREAM, KVER_4_14);
662 return do_forward4(skb, RAWIP, DOWNSTREAM, UPDATETIME, KVER_5_8);
674 return do_forward4(skb, ETHER, DOWNSTREAM, UPDATETIME, KVER_5_8);
691 return do_forward4(skb, RAWIP, DOWNSTREAM, UPDATETIME, KVER_4_14);
707 return do_forward4(skb, ETHER, DOWNSTREAM, UPDATETIME, KVER_4_14);
735 return do_forward4(skb, RAWIP, DOWNSTREAM, NO_UPDATETIME, KVER_5_4);
752 return do_forward4(skb, RAWIP, DOWNSTREAM, NO_UPDATETIME, KVER_4_14);
768 return do_forward4(skb, ETHER, DOWNSTREAM, NO_UPDATETIME, KVER_4_14);
860 return do_xdp_forward_ether(ctx, DOWNSTREAM);
[all …]
Doffload@mainline.c308 return do_forward6(skb, ETHER, DOWNSTREAM, KVER_NONE);
334 return do_forward6(skb, RAWIP, DOWNSTREAM, KVER_4_14);
662 return do_forward4(skb, RAWIP, DOWNSTREAM, UPDATETIME, KVER_5_8);
674 return do_forward4(skb, ETHER, DOWNSTREAM, UPDATETIME, KVER_5_8);
691 return do_forward4(skb, RAWIP, DOWNSTREAM, UPDATETIME, KVER_4_14);
707 return do_forward4(skb, ETHER, DOWNSTREAM, UPDATETIME, KVER_4_14);
735 return do_forward4(skb, RAWIP, DOWNSTREAM, NO_UPDATETIME, KVER_5_4);
752 return do_forward4(skb, RAWIP, DOWNSTREAM, NO_UPDATETIME, KVER_4_14);
768 return do_forward4(skb, ETHER, DOWNSTREAM, NO_UPDATETIME, KVER_4_14);
860 return do_xdp_forward_ether(ctx, DOWNSTREAM);
[all …]
Dbpf_net_helpers.h97 #define DOWNSTREAM ((struct stream_bool){ .down = true }) macro
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java33 import static com.android.networkstack.tethering.BpfUtils.DOWNSTREAM;
124 private static final String TETHER_DOWNSTREAM4_MAP_PATH = makeMapPath(DOWNSTREAM, 4);
126 private static final String TETHER_DOWNSTREAM6_FS_PATH = makeMapPath(DOWNSTREAM, 6);
907 mBpfCoordinatorShim.tetherOffloadRuleForEach(DOWNSTREAM, (k, v) -> { in tetherOffloadRuleClear()
929 mBpfCoordinatorShim.tetherOffloadRuleRemove(DOWNSTREAM, k); in tetherOffloadRuleClear()
1098 maybeAttachProgramImpl(extIface, DOWNSTREAM); in maybeAttachProgram()
1442 dumpIpv4ForwardingRuleMap(now, DOWNSTREAM, downstreamMap, pw); in dumpBpfForwardingRulesIpv4()
2010 DOWNSTREAM, downstream4Key); in accept()
2037 mBpfCoordinatorShim.tetherOffloadRuleAdd(DOWNSTREAM, downstream4Key, downstream4Value); in accept()
2359 mBpfCoordinatorShim.tetherOffloadRuleForEach(DOWNSTREAM, (k, v) -> { in refreshAllConntrackTimeouts()
DBpfUtils.java54 static final boolean DOWNSTREAM = true; field in BpfUtils
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java62 import static com.android.networkstack.tethering.BpfUtils.DOWNSTREAM;
1684 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface1, DOWNSTREAM, IPV4)); in testAttachDetachBpfProgram()
1685 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface1, DOWNSTREAM, IPV6)); in testAttachDetachBpfProgram()
1706 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface2, DOWNSTREAM, IPV4)); in testAttachDetachBpfProgram()
1707 ExtendedMockito.verify(() -> BpfUtils.attachProgram(extIface2, DOWNSTREAM, IPV6), in testAttachDetachBpfProgram()