Lines Matching refs:CCV
206 if (type == CC_ACK && !IN_RECOVERY(CCV(ccv, t_flags)) && in htcp_ack_received()
208 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh) || in htcp_ack_received()
218 CCV(ccv, snd_cwnd) <= CCV(ccv, snd_ssthresh)) in htcp_ack_received()
223 CCV(ccv, snd_cwnd) += htcp_data->alpha * in htcp_ack_received()
224 CCV(ccv, t_maxseg); in htcp_ack_received()
232 CCV(ccv, snd_cwnd) += (((htcp_data->alpha << in htcp_ack_received()
234 CCV(ccv, snd_cwnd) / CCV(ccv, t_maxseg)))) * in htcp_ack_received()
235 CCV(ccv, t_maxseg)) >> HTCP_SHIFT; in htcp_ack_received()
292 if (!IN_FASTRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal()
293 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal()
304 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal()
306 ENTER_RECOVERY(CCV(ccv, t_flags)); in htcp_cong_signal()
311 if (!IN_CONGRECOVERY(CCV(ccv, t_flags))) { in htcp_cong_signal()
319 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in htcp_cong_signal()
321 htcp_data->prev_cwnd = CCV(ccv, snd_cwnd); in htcp_cong_signal()
322 ENTER_CONGRECOVERY(CCV(ccv, t_flags)); in htcp_cong_signal()
327 CCV(ccv, snd_ssthresh) = max(min(CCV(ccv, snd_wnd), in htcp_cong_signal()
328 CCV(ccv, snd_cwnd)) / 2 / mss, in htcp_cong_signal()
330 CCV(ccv, snd_cwnd) = mss; in htcp_cong_signal()
338 if (CCV(ccv, t_rxtshift) >= 2) in htcp_cong_signal()
368 if (IN_FASTRECOVERY(CCV(ccv, t_flags))) { in htcp_post_recovery()
379 pipe = CCV(ccv, snd_max) - ccv->curack; in htcp_post_recovery()
381 if (pipe < CCV(ccv, snd_ssthresh)) in htcp_post_recovery()
386 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
387 CCV(ccv, t_maxseg); in htcp_post_recovery()
389 CCV(ccv, snd_cwnd) = max(1, ((htcp_data->beta * in htcp_post_recovery()
390 htcp_data->prev_cwnd / CCV(ccv, t_maxseg)) in htcp_post_recovery()
391 >> HTCP_SHIFT)) * CCV(ccv, t_maxseg); in htcp_post_recovery()
498 (CCV(ccv, t_rttupdated) >= HTCP_MIN_RTT_SAMPLES)) in htcp_record_rtt()
506 && CCV(ccv, t_rttupdated) >= HTCP_MIN_RTT_SAMPLES) in htcp_record_rtt()
524 if (CCV(ccv, snd_ssthresh) == TCP_MAXWIN << TCP_MAX_WINSHIFT) in htcp_ssthresh_update()
525 CCV(ccv, snd_ssthresh) = ((u_long)CCV(ccv, snd_cwnd) * in htcp_ssthresh_update()
529 CCV(ccv, snd_ssthresh) = ((u_long)CCV(ccv, snd_cwnd) * in htcp_ssthresh_update()