Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dtcp_htcp.c32 u32 packetcount; member
120 ca->packetcount = 0; in measure_achieved_throughput()
125 ca->packetcount += sample->pkts_acked; in measure_achieved_throughput()
127 if (ca->packetcount >= tcp_snd_cwnd(tp) - (ca->alpha >> 7 ? : 1) && in measure_achieved_throughput()
130 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime); in measure_achieved_throughput()
142 ca->packetcount = 0; in measure_achieved_throughput()