Home
last modified time | relevance | path

Searched refs:t_maxseg (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/third_party/tcplp/bsdtcp/cc/
Dcc_newreno.c95 uint32_t incr = CCV(ccv, t_maxseg); in newreno_ack_received()
145 V_tcp_abc_l_var * CCV(ccv, t_maxseg)); in newreno_ack_received()
147 incr = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in newreno_ack_received()
175 rw = min(4 * CCV(ccv, t_maxseg), in newreno_after_idle()
176 max(2 * CCV(ccv, t_maxseg), 4380)); in newreno_after_idle()
178 rw = CCV(ccv, t_maxseg) * 2; in newreno_after_idle()
195 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) * in newreno_cong_signal()
196 CCV(ccv, t_maxseg); in newreno_cong_signal()
235 ccv->curack + CCV(ccv, t_maxseg); in newreno_post_recovery()
/openthread-latest/third_party/tcplp/bsdtcp/
Dtcp_input.c127 V_tcp_abc_l_var * tp->t_maxseg); in cc_ack_received()
179 tp->snd_ssthresh = max(2 * tp->t_maxseg, metrics.rmx_ssthresh); 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()
198 max(2 * tp->t_maxseg, V_tcp_initcwnd_segments * 1460)); in cc_conn_init()
200 tp->snd_cwnd = min(4 * tp->t_maxseg, in cc_conn_init()
201 max(2 * tp->t_maxseg, 4380)); in cc_conn_init()
204 if (tp->t_maxseg > 2190) in cc_conn_init()
205 tp->snd_cwnd = 2 * tp->t_maxseg; in cc_conn_init()
206 else if (tp->t_maxseg > 1095) in cc_conn_init()
[all …]
Dtcp_output.c508 if (len >= tp->t_maxseg) in tcp_output()
618 if (adv >= (long)(2 * tp->t_maxseg) && in tcp_output()
621 so->so_rcv.sb_hiwat <= 8 * tp->t_maxseg)) in tcp_output()
624 if (adv >= (long)(2 * tp->t_maxseg) || in tcp_output()
702 if (len >= tp->t_maxseg) in tcp_output()
1139 recwin < (long)tp->t_maxseg) in tcp_output()
1349 tp->snd_cwnd = tp->t_maxseg; in tcp_output()
Dtcp_sack.c557 if ((BYTES_THIS_ACK(tp, th) / tp->t_maxseg) >= 2) in tcp_sack_partialack()
560 (tp->snd_nxt - tp->sack_newdata) + num_segs * tp->t_maxseg); in tcp_sack_partialack()
Dtcp_subr.c116 tp->t_maxseg = tp->t_maxopd = in initialize_tcb()
Dtcp_reass.c163 tp->t_segqlen >= (so->so_rcv.sb_hiwat / tp->t_maxseg) + 1) {
Dtcp_var.h267 uint32_t t_maxseg; /* maximum segment size */ member
Dtcp_fastopen.c932 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()
969 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()