Searched refs:stat_v (Results 1 – 1 of 1) sorted by relevance
189 TetherStatsValue* stat_v = bpf_tether_stats_map_lookup_elem(&stat_and_limit_k); local192 if (!stat_v) TC_PUNT(NO_STATS_ENTRY);225 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) TC_PUNT(LIMIT_REACHED);232 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);244 __sync_fetch_and_add(downstream ? &stat_v->rxErrors : &stat_v->txErrors, 1);264 __sync_fetch_and_add(downstream ? &stat_v->rxPackets : &stat_v->txPackets, packets);265 __sync_fetch_and_add(downstream ? &stat_v->rxBytes : &stat_v->txBytes, bytes);502 TetherStatsValue* stat_v = bpf_tether_stats_map_lookup_elem(&stat_and_limit_k); in do_forward4() local505 if (!stat_v) TC_PUNT(NO_STATS_ENTRY); in do_forward4()538 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) TC_PUNT(LIMIT_REACHED); in do_forward4()[all …]