Home
last modified time | relevance | path

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

/f-stack/freebsd/netinet/cc/
H A Dcc_chd.c147 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg); in chd_window_decrease()
149 CCV(ccv, snd_ssthresh) = max(win, 2) * CCV(ccv, t_maxseg); in chd_window_decrease()
200 V_tcp_abc_l_var * CCV(ccv, t_maxseg)); in chd_window_increase()
204 CCV(ccv, t_maxseg)); in chd_window_increase()
207 incr = CCV(ccv, t_maxseg); in chd_window_increase()
213 incr = CCV(ccv, t_maxseg); in chd_window_increase()
216 incr = CCV(ccv, t_maxseg); in chd_window_increase()
371 CCV(ccv, t_maxseg) / 2, 2) * CCV(ccv, t_maxseg); in chd_cong_signal()
H A Dcc_cubic.c167 CCV(ccv, t_maxseg)); in cubic_ack_received()
186 CCV(ccv, t_maxseg)); in cubic_ack_received()
190 CCV(ccv, t_maxseg), cubic_data->K); in cubic_ack_received()
222 CCV(ccv, t_maxseg)); in cubic_ack_received()
244 cubic_data->K = cubic_k(cubic_data->max_cwnd / CCV(ccv, t_maxseg)); in cubic_after_idle()
386 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in cubic_post_recovery()
387 CCV(ccv, t_maxseg); in cubic_post_recovery()
392 2 * CCV(ccv, t_maxseg)); in cubic_post_recovery()
H A Dcc_htcp.c222 CCV(ccv, t_maxseg); in htcp_ack_received()
232 CCV(ccv, t_maxseg))) * CCV(ccv, t_maxseg)) in htcp_ack_received()
379 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
380 CCV(ccv, t_maxseg); in htcp_post_recovery()
383 htcp_data->prev_cwnd / CCV(ccv, t_maxseg)) in htcp_post_recovery()
384 >> HTCP_SHIFT)) * CCV(ccv, t_maxseg); in htcp_post_recovery()
H A Dcc_dctcp.c126 bytes_acked = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in dctcp_ack_received()
139 && bytes_acked > CCV(ccv, t_maxseg)) { in dctcp_ack_received()
141 (bytes_acked - CCV(ccv, t_maxseg)); in dctcp_ack_received()
147 && bytes_acked > CCV(ccv, t_maxseg)) in dctcp_ack_received()
148 dctcp_data->bytes_ecn += CCV(ccv, t_maxseg); in dctcp_ack_received()
290 dctcp_data->save_sndnxt += CCV(ccv, t_maxseg); in dctcp_cong_signal()
H A Dcc_newreno.c137 u_int incr = CCV(ccv, t_maxseg); in newreno_ack_received()
188 CCV(ccv, t_maxseg)); in newreno_ack_received()
190 incr = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in newreno_ack_received()
315 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in newreno_post_recovery()
316 CCV(ccv, t_maxseg); in newreno_post_recovery()
H A Dcc_vegas.c140 e_t->minrtt / CCV(ccv, t_maxseg); in vegas_ack_received()
152 CCV(ccv, t_maxseg), in vegas_ack_received()
210 CCV(ccv, snd_cwnd) = max(2 * CCV(ccv, t_maxseg), in vegas_cong_signal()
211 CCV(ccv, snd_cwnd) - CCV(ccv, t_maxseg)); in vegas_cong_signal()
H A Dcc_cdg.c417 incr = CCV(ccv, t_maxseg); in cdg_window_increase()
423 s_w_incr = CCV(ccv, t_maxseg); in cdg_window_increase()
425 incr = CCV(ccv, t_maxseg); in cdg_window_increase()
431 incr = CCV(ccv, t_maxseg) * in cdg_window_increase()
/f-stack/freebsd/netinet/
H A Dtcp_timer.c739 if (tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss) in tcp_timer_rexmt()
741 if (tp->t_maxseg > V_tcp_v6mssdflt && in tcp_timer_rexmt()
747 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss) in tcp_timer_rexmt()
749 if (tp->t_maxseg > V_tcp_mssdflt && in tcp_timer_rexmt()
770 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in tcp_timer_rexmt()
782 tp->t_maxseg = V_tcp_v6pmtud_blackhole_mss; in tcp_timer_rexmt()
786 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_timer_rexmt()
799 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss && in tcp_timer_rexmt()
802 tp->t_maxseg = V_tcp_pmtud_blackhole_mss; in tcp_timer_rexmt()
806 tp->t_maxseg = V_tcp_mssdflt; in tcp_timer_rexmt()
[all …]
H A Dtcp_output.c591 if (len >= tp->t_maxseg) in tcp_output()
605 len) >= tp->t_maxseg) in tcp_output()
688 if (adv >= (int32_t)(2 * tp->t_maxseg) && in tcp_output()
767 if (len >= tp->t_maxseg) in tcp_output()
939 max_len = (tp->t_maxseg - optlen); in tcp_output()
969 if (optlen + ipoptlen >= tp->t_maxseg) { in tcp_output()
983 len = tp->t_maxseg - optlen - ipoptlen; in tcp_output()
1081 if (len <= (tp->t_maxseg - optlen)) { in tcp_output()
1262 recwin < tp->t_maxseg) in tcp_output()
1364 KASSERT(len > tp->t_maxseg - optlen, in tcp_output()
[all …]
H A Dtcp_subr.c1753 tp->t_maxseg = in tcp_newtcpcb()
1982 ssthresh = (ssthresh + tp->t_maxseg / 2) / tp->t_maxseg; in tcp_discardcb()
1985 ssthresh *= (tp->t_maxseg + in tcp_discardcb()
2537 if (mtu < tp->t_maxseg + in tcp_ctlinput()
2686 if (mtu < tp->t_maxseg + in tcp6_ctlinput()
2920 if (so->so_snd.sb_hiwat < tp->t_maxseg) in tcp_mtudisc()
2921 tp->t_maxseg = so->so_snd.sb_hiwat; in tcp_mtudisc()
3023 return (tp->t_maxseg); in tcp_maxseg()
3062 return (tp->t_maxseg - optlen); in tcp_maxseg()
3464 xt->t_maxseg = tp->t_maxseg; in tcp_inptoxtp()
H A Dtcp_usrreq.c1794 ti->tcpi_snd_mss = tp->t_maxseg; in tcp_fill_info()
1795 ti->tcpi_rcv_mss = tp->t_maxseg; in tcp_fill_info()
1869 if (tp->t_maxseg > TCP6_MSS) { in tcp_ctloutput()
1870 tp->t_maxseg = TCP6_MSS; in tcp_ctloutput()
2163 if (optval > 0 && optval <= tp->t_maxseg && in tcp_default_ctloutput()
2165 tp->t_maxseg = optval; in tcp_default_ctloutput()
2490 optval = tp->t_maxseg; in tcp_default_ctloutput()
3009 tp->t_rxtcur, tp->t_maxseg, tp->t_srtt); in db_print_tcpcb()
H A Dtcp_input.c528 (tlen <= tp->t_maxseg) && \
3686 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_mss_update()
3695 tp->t_maxseg = V_tcp_mssdflt; in tcp_mss_update()
3721 offer = tp->t_maxseg; in tcp_mss_update()
3802 tp->t_maxseg = mss; in tcp_mss_update()
3820 mss = tp->t_maxseg; in tcp_mss()
3854 tp->t_maxseg = max(mss, 64); in tcp_mss()
H A Dtcp_var.h135 uint32_t t_maxseg:24, /* maximum segment size */ member
775 uint32_t t_maxseg; /* (s) */ member
H A Dtcp_timewait.c301 recwin < tp->t_maxseg) in tcp_twstart()
H A Dtcp_fastopen.c906 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()
H A Dtcp_reass.c990 if (tp->t_segqlen >= min((so->so_rcv.sb_hiwat / tp->t_maxseg) + 1, in tcp_reass()
H A Dsiftr.c790 pn->max_seg_size = tp->t_maxseg; in siftr_siftdata()
/f-stack/freebsd/netinet/tcp_stacks/
H A Dbbr.c3420 i_cwnd = min(4 * tp->t_maxseg, in bbr_initial_cwnd()
3421 max(2 * tp->t_maxseg, 4380)); in bbr_initial_cwnd()
3424 if (tp->t_maxseg > 2190) in bbr_initial_cwnd()
3425 i_cwnd = 2 * tp->t_maxseg; in bbr_initial_cwnd()
3426 else if (tp->t_maxseg > 1095) in bbr_initial_cwnd()
3427 i_cwnd = 3 * tp->t_maxseg; in bbr_initial_cwnd()
3429 i_cwnd = 4 * tp->t_maxseg; in bbr_initial_cwnd()
5134 tp->t_maxseg = V_tcp_mssdflt; in bbr_timeout_rxt()
12270 tot_len = tp->t_maxseg; in bbr_output_wtime()
13713 log.u_bbr.flex5 |= tp->t_maxseg; in bbr_output_wtime()
[all …]
H A Drack_bbr_common.c823 return (tp->t_maxseg); in ctf_fixed_maxseg()
858 return (tp->t_maxseg - optlen); in ctf_fixed_maxseg()
H A Drack.c4140 (tlen <= tp->t_maxseg) && \
5705 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in rack_timeout_rxt()
5720 tp->t_maxseg = V_tcp_v6mssdflt; in rack_timeout_rxt()
5739 tp->t_maxseg = V_tcp_mssdflt; in rack_timeout_rxt()
5761 tp->t_maxseg = tp->t_pmtud_saved_maxseg; in rack_timeout_rxt()
13156 max_len = (tp->t_maxseg - optlen); in rack_output()
13183 if (optlen + ipoptlen >= tp->t_maxseg) { in rack_output()
13197 len = tp->t_maxseg - optlen - ipoptlen; in rack_output()
13293 if (len <= (tp->t_maxseg - optlen)) { in rack_output()
13630 KASSERT(len > tp->t_maxseg - optlen, in rack_output()
[all …]
/f-stack/freebsd/netinet/khelp/
H A Dh_ertt.c256 if (acked > tp->t_maxseg) { in ertt_packet_measurement_hook()
266 } else if (acked == tp->t_maxseg || in ertt_packet_measurement_hook()
/f-stack/tools/compat/include/netinet/
H A Dtcp_var.h135 uint32_t t_maxseg:24, /* maximum segment size */ member
775 uint32_t t_maxseg; /* (s) */ member
/f-stack/tools/netstat/
H A Dinet.c571 tp->t_maxseg, in protopr()