Home
last modified time | relevance | path

Searched refs:ifaceStatsMap (Results 1 – 2 of 2) sorted by relevance

/system/netd/libnetdbpf/
DBpfNetworkStats.cpp72 const BpfMap<uint32_t, StatsValue>& ifaceStatsMap, in bpfGetIfaceStatsInternal() argument
80 const BpfMap<uint32_t, StatsValue>& ifaceStatsMap) -> Result<void> { in bpfGetIfaceStatsInternal() argument
82 if (getIfaceNameFromMap(ifaceNameMap, ifaceStatsMap, key, ifname, key, in bpfGetIfaceStatsInternal()
87 Result<StatsValue> statsEntry = ifaceStatsMap.readValue(key); in bpfGetIfaceStatsInternal()
98 auto res = ifaceStatsMap.iterate(processIfaceStats); in bpfGetIfaceStatsInternal()
103 BpfMapRO<uint32_t, StatsValue> ifaceStatsMap(IFACE_STATS_MAP_PATH); in bpfGetIfaceStats() local
105 if (!ifaceStatsMap.isValid()) { in bpfGetIfaceStats()
116 return bpfGetIfaceStatsInternal(iface, stats, ifaceStatsMap, ifaceIndexNameMap); in bpfGetIfaceStats()
273 BpfMapRO<uint32_t, StatsValue> ifaceStatsMap(IFACE_STATS_MAP_PATH); in parseBpfNetworkStatsDev() local
274 if (!ifaceStatsMap.isValid()) { in parseBpfNetworkStatsDev()
[all …]
/system/netd/libnetdbpf/include/netdbpf/
DBpfNetworkStats.h63 const BpfMap<uint32_t, StatsValue>& ifaceStatsMap,