Searched refs:snd_cwnd (Results 1 – 7 of 7) sorted by relevance
/openthread-3.7.0/third_party/tcplp/bsdtcp/cc/ |
D | cc_newreno.c | 94 uint32_t cw = CCV(ccv, snd_cwnd); in newreno_ack_received() 151 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received() 180 CCV(ccv, snd_cwnd) = min(rw, CCV(ccv, snd_cwnd)); in newreno_after_idle() 195 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) * in newreno_cong_signal() 209 CCV(ccv, snd_cwnd) = win; in newreno_cong_signal() 234 CCV(ccv, snd_cwnd) = CCV(ccv, snd_max) - in newreno_post_recovery() 237 CCV(ccv, snd_cwnd) = CCV(ccv, snd_ssthresh); in newreno_post_recovery()
|
/openthread-3.7.0/third_party/tcplp/bsdtcp/ |
D | tcp_input.c | 119 if (tp->snd_cwnd <= tp->snd_wnd) in cc_ack_received() 125 if (tp->snd_cwnd > tp->snd_ssthresh) { in cc_ack_received() 128 if (tp->t_bytes_acked >= tp->snd_cwnd) { in cc_ack_received() 129 tp->t_bytes_acked -= tp->snd_cwnd; in cc_ack_received() 194 if (tp->snd_cwnd == 1) in cc_conn_init() 195 tp->snd_cwnd = tp->t_maxseg; /* SYN(-ACK) lost */ in cc_conn_init() 197 tp->snd_cwnd = min(V_tcp_initcwnd_segments * tp->t_maxseg, in cc_conn_init() 200 tp->snd_cwnd = min(4 * tp->t_maxseg, in cc_conn_init() 205 tp->snd_cwnd = 2 * tp->t_maxseg; in cc_conn_init() 207 tp->snd_cwnd = 3 * tp->t_maxseg; in cc_conn_init() [all …]
|
D | tcp_output.c | 160 …CP output %u %d %d", (unsigned int) tcplp_sys_get_millis(), (int) tp->snd_wnd, (int) tp->snd_cwnd); in tcp_output() 176 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output() 197 cwin = min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt; in tcp_output() 323 cwin = tp->snd_cwnd - in tcp_output() 1349 tp->snd_cwnd = tp->t_maxseg; in tcp_output() 1351 tcplp_sys_log("TCP ALLOCFAIL %u %d", (unsigned int) tcplp_sys_get_millis(), (int) tp->snd_cwnd); in tcp_output()
|
D | tcp_timer.c | 371 tp->snd_cwnd = 1; in tcp_timer_rexmt() 382 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
|
D | tcp_sack.c | 559 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit + in tcp_sack_partialack() 561 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_sack_partialack() 562 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_partialack()
|
D | tcp_subr.c | 137 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in initialize_tcb()
|
D | tcp_var.h | 247 uint64_t snd_cwnd; /* congestion-controlled window */ member
|