Searched refs:snd_cwnd (Results 1 – 7 of 7) sorted by relevance
/openthread-3.4.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.4.0/third_party/tcplp/bsdtcp/ |
D | tcp_input.c | 118 if (tp->snd_cwnd <= tp->snd_wnd) in cc_ack_received() 124 if (tp->snd_cwnd > tp->snd_ssthresh) { in cc_ack_received() 127 if (tp->t_bytes_acked >= tp->snd_cwnd) { in cc_ack_received() 128 tp->t_bytes_acked -= tp->snd_cwnd; in cc_ack_received() 193 if (tp->snd_cwnd == 1) in cc_conn_init() 194 tp->snd_cwnd = tp->t_maxseg; /* SYN(-ACK) lost */ in cc_conn_init() 196 tp->snd_cwnd = min(V_tcp_initcwnd_segments * tp->t_maxseg, in cc_conn_init() 199 tp->snd_cwnd = min(4 * tp->t_maxseg, in cc_conn_init() 204 tp->snd_cwnd = 2 * tp->t_maxseg; in cc_conn_init() 206 tp->snd_cwnd = 3 * tp->t_maxseg; in cc_conn_init() [all …]
|
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_output.c | 145 …CP output %u %d %d", (unsigned int) tcplp_sys_get_millis(), (int) tp->snd_wnd, (int) tp->snd_cwnd); in tcp_output() 161 sendwin = min(tp->snd_wnd, tp->snd_cwnd); in tcp_output() 182 cwin = min(tp->snd_wnd, tp->snd_cwnd) - sack_bytes_rxmt; in tcp_output() 308 cwin = tp->snd_cwnd - in tcp_output() 1259 tp->snd_cwnd = tp->t_maxseg; in tcp_output() 1261 tcplp_sys_log("TCP ALLOCFAIL %u %d", (unsigned int) tcplp_sys_get_millis(), (int) tp->snd_cwnd); in tcp_output()
|
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 | 135 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in initialize_tcb()
|
D | tcp_var.h | 245 uint64_t snd_cwnd; /* congestion-controlled window */ member
|