Lines Matching refs:snd_cwnd
86 if (tp->snd_cwnd_cnt > min(tp->snd_cwnd, TCP_SCALABLE_AI_CNT)) { in tcp_yeah_cong_avoid()
87 if (tp->snd_cwnd < tp->snd_cwnd_clamp) in tcp_yeah_cong_avoid()
88 tp->snd_cwnd++; in tcp_yeah_cong_avoid()
96 tcp_cong_avoid_ai(tp, tp->snd_cwnd, 1); in tcp_yeah_cong_avoid()
151 bw = tp->snd_cwnd; in tcp_yeah_cong_avoid()
159 tp->snd_cwnd > yeah->reno_count) { in tcp_yeah_cong_avoid()
161 tp->snd_cwnd >> TCP_YEAH_EPSILON); in tcp_yeah_cong_avoid()
163 tp->snd_cwnd -= reduction; in tcp_yeah_cong_avoid()
165 tp->snd_cwnd = max(tp->snd_cwnd, in tcp_yeah_cong_avoid()
168 tp->snd_ssthresh = tp->snd_cwnd; in tcp_yeah_cong_avoid()
172 yeah->reno_count = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_cong_avoid()
197 yeah->vegas.beg_snd_cwnd = tp->snd_cwnd; in tcp_yeah_cong_avoid()
214 reduction = min(reduction, max(tp->snd_cwnd>>1, 2U)); in tcp_yeah_ssthresh()
216 reduction = max(reduction, tp->snd_cwnd >> TCP_YEAH_DELTA); in tcp_yeah_ssthresh()
218 reduction = max(tp->snd_cwnd>>1, 2U); in tcp_yeah_ssthresh()
223 return max_t(int, tp->snd_cwnd - reduction, 2); in tcp_yeah_ssthresh()