Home
last modified time | relevance | path

Searched refs:StatsKey (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp134 stats_line populateStatsEntry(const StatsKey& statsKey, const StatsValue& statsEntry, in populateStatsEntry()
149 const BpfMapRO<StatsKey, StatsValue>& statsMap, in parseBpfNetworkStatsDetailInternal() argument
154 const StatsKey& key, in parseBpfNetworkStatsDetailInternal()
155 const BpfMapRO<StatsKey, StatsValue>& statsMap) -> Result<void> { in parseBpfNetworkStatsDetailInternal() argument
196 static BpfMap<StatsKey, StatsValue> statsMapA(STATS_MAP_A_PATH); in parseBpfNetworkStatsDetail()
197 static BpfMap<StatsKey, StatsValue> statsMapB(STATS_MAP_B_PATH); in parseBpfNetworkStatsDetail()
206 BpfMap<StatsKey, StatsValue> *inactiveStatsMap; in parseBpfNetworkStatsDetail()
251 StatsKey fakeKey = { in parseBpfNetworkStatsDevInternal()
DBpfNetworkStatsTest.cpp76 BpfMap<StatsKey, StatsValue> mFakeStatsMap;
111 StatsValue value, BpfMap<StatsKey, StatsValue>& map) { in populateFakeStats() argument
112 StatsKey key = { in populateFakeStats()
352 StatsKey curKey = { in TEST_F()
/packages/modules/Connectivity/netd/
DBpfHandlerTest.cpp51 BpfMap<StatsKey, StatsValue> mFakeStatsMapA;
102 void populateFakeStats(uint64_t cookie, uint32_t uid, uint32_t tag, StatsKey* key) { in populateFakeStats()
131 StatsKey key = {.uid = uid, .tag = 0, .counterSet = TEST_COUNTERSET, .ifaceIndex = 1}; in expectTagSocketReachLimit()
236 StatsKey tagStatsMapKey[3]; in TEST_F()
246 StatsKey tagStatsMapKey[4]; in TEST_F()
DBpfHandler.h62 BpfMapRO<StatsKey, StatsValue> mStatsMapA;
63 BpfMapRO<StatsKey, StatsValue> mStatsMapB;
DBpfHandler.cpp352 const StatsKey& key, in tagSocket()
353 const BpfMapRO<StatsKey, StatsValue>&) { in tagSocket() argument
371 BpfMapRO<StatsKey, StatsValue>& currentMap = in tagSocket()
/packages/modules/Connectivity/bpf_progs/
Dnetd.c92 DEFINE_BPF_MAP_RO_NETD(stats_map_A, HASH, StatsKey, StatsValue, STATS_MAP_SIZE)
93 DEFINE_BPF_MAP_RO_NETD(stats_map_B, HASH, StatsKey, StatsValue, STATS_MAP_SIZE)
219 DEFINE_UPDATE_STATS(stats_map_A, StatsKey)
220 DEFINE_UPDATE_STATS(stats_map_B, StatsKey)
446 const StatsKey* const key, in update_stats_with_config()
504 StatsKey key = {.uid = uid, .tag = tag, .counterSet = 0, .ifaceIndex = skb->ifindex}; in bpf_traffic_account()
Dnetd.h48 } StatsKey; typedef
49 STRUCT_SIZE(StatsKey, 4 * 4); // 16
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/
DBpfNetworkStats.h75 const BpfMapRO<StatsKey, StatsValue>& statsMap,