Home
last modified time | relevance | path

Searched refs:snd_cwnd (Results 1 – 7 of 7) sorted by relevance

/openthread-3.4.0/third_party/tcplp/bsdtcp/cc/
Dcc_newreno.c94 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/
Dtcp_input.c118 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 …]
Dtcp_timer.c371 tp->snd_cwnd = 1; in tcp_timer_rexmt()
382 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
Dtcp_output.c145 …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()
Dtcp_sack.c559 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()
Dtcp_subr.c135 tp->snd_cwnd = TCP_MAXWIN << TCP_MAX_WINSHIFT; in initialize_tcb()
Dtcp_var.h245 uint64_t snd_cwnd; /* congestion-controlled window */ member