Home
last modified time | relevance | path

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

/system/netd/bpf_progs/
Doffload.c78 TetherStatsValue* stat_v = bpf_tether_stats_map_lookup_elem(&stat_and_limit_k); in do_forward() local
81 if (!stat_v) return TC_ACT_OK; in do_forward()
115 if (stat_v->rxBytes + stat_v->txBytes + bytes > *limit_v) return TC_ACT_OK; in do_forward()
122 __sync_fetch_and_add(&stat_v->rxErrors, 1); in do_forward()
134 __sync_fetch_and_add(&stat_v->rxErrors, 1); in do_forward()
150 __sync_fetch_and_add(&stat_v->rxPackets, packets); in do_forward()
151 __sync_fetch_and_add(&stat_v->rxBytes, bytes); in do_forward()