Searched refs:statsEntry (Results 1 – 3 of 3) 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()
1059 auto statsEntry = mBpfStatsMap.readValue(ifIndex); in setBpfLimit() local1061 if (statsEntry.ok()) { in setBpfLimit()1063 rxBytes = statsEntry.value().rxBytes; in setBpfLimit()1064 txBytes = statsEntry.value().txBytes; in setBpfLimit()1065 } else if (statsEntry.error().code() == ENOENT) { in setBpfLimit()1078 return statsEntry.error(); in setBpfLimit()