Searched refs:cumul_ack (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/ipv4/
H A Dtcp_westwood.c37 u32 cumul_ack; member in struct:westwood
68 w->cumul_ack = 0; tcp_westwood_init()
175 * This function evaluates cumul_ack for evaluating bk in case of
183 w->cumul_ack = tp->snd_una - w->snd_una; westwood_acked_count()
185 /* If cumul_ack is 0 this is a dupack since it's not moving westwood_acked_count()
188 if (!w->cumul_ack) { westwood_acked_count()
190 w->cumul_ack = tp->mss_cache; westwood_acked_count()
193 if (w->cumul_ack > tp->mss_cache) { westwood_acked_count()
195 if (w->accounted >= w->cumul_ack) { westwood_acked_count()
196 w->accounted -= w->cumul_ack; westwood_acked_count()
197 w->cumul_ack = tp->mss_cache; westwood_acked_count()
199 w->cumul_ack -= w->accounted; westwood_acked_count()
206 return w->cumul_ack; westwood_acked_count()

Completed in 122 milliseconds