Searched refs:statsEntry (Results 1 – 2 of 2) sorted by relevance
49 auto statsEntry = appUidStatsMap.readValue(uid); in bpfGetUidStatsInternal() local50 if (statsEntry.ok()) { in bpfGetUidStatsInternal()51 stats->rxPackets = statsEntry.value().rxPackets; in bpfGetUidStatsInternal()52 stats->txPackets = statsEntry.value().txPackets; in bpfGetUidStatsInternal()53 stats->rxBytes = statsEntry.value().rxBytes; in bpfGetUidStatsInternal()54 stats->txBytes = statsEntry.value().txBytes; in bpfGetUidStatsInternal()56 return (statsEntry.ok() || statsEntry.error().code() == ENOENT) ? 0 in bpfGetUidStatsInternal()57 : -statsEntry.error().code(); in bpfGetUidStatsInternal()87 Result<StatsValue> statsEntry = ifaceStatsMap.readValue(key); in bpfGetIfaceStatsInternal() local88 if (!statsEntry.ok()) { in bpfGetIfaceStatsInternal()[all …]
95 auto statsEntry = statsMap.readValue(curKey); in maybeLogUnknownIface() local96 if (!statsEntry.ok()) { in maybeLogUnknownIface()101 *unknownIfaceBytesTotal += (statsEntry.value().rxBytes + statsEntry.value().txBytes); in maybeLogUnknownIface()