Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/netinet/cc/
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()
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()
222 rw = min(4 * CCV(ccv, t_maxseg), in newreno_after_idle()
223 max(2 * CCV(ccv, t_maxseg), 4380)); in newreno_after_idle()
225 rw = CCV(ccv, t_maxseg) * 2; in newreno_after_idle()
324 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in newreno_post_recovery()
325 CCV(ccv, t_maxseg); in newreno_post_recovery()
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()
387 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in cubic_post_recovery()
388 CCV(ccv, t_maxseg); in cubic_post_recovery()
393 2 * CCV(ccv, t_maxseg)); in cubic_post_recovery()
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()
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()
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()
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()
/freebsd-12-stable/sys/netinet/
Dtcp_timer.c714 if (tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss) in tcp_timer_rexmt()
716 if (tp->t_maxseg > V_tcp_v6mssdflt && in tcp_timer_rexmt()
722 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss) in tcp_timer_rexmt()
724 if (tp->t_maxseg > V_tcp_mssdflt && in tcp_timer_rexmt()
745 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in tcp_timer_rexmt()
754 tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss && in tcp_timer_rexmt()
757 tp->t_maxseg = V_tcp_v6pmtud_blackhole_mss; in tcp_timer_rexmt()
761 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_timer_rexmt()
774 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss && in tcp_timer_rexmt()
777 tp->t_maxseg = V_tcp_pmtud_blackhole_mss; in tcp_timer_rexmt()
[all …]
Dtcp_output.c549 if ((tp->t_flags & TF_TSO) && V_tcp_do_tso && len > tp->t_maxseg && in tcp_output()
580 if (len >= tp->t_maxseg) in tcp_output()
594 len) >= tp->t_maxseg) in tcp_output()
674 if (adv >= (int32_t)(2 * tp->t_maxseg) && in tcp_output()
677 so->so_rcv.sb_hiwat <= 8 * tp->t_maxseg || in tcp_output()
753 if (len >= tp->t_maxseg) in tcp_output()
880 if (len + optlen + ipoptlen > tp->t_maxseg) { in tcp_output()
921 max_len = (tp->t_maxseg - optlen); in tcp_output()
951 if (optlen + ipoptlen >= tp->t_maxseg) { in tcp_output()
965 len = tp->t_maxseg - optlen - ipoptlen; in tcp_output()
[all …]
Dtcp_subr.c1657 tp->t_maxseg = in tcp_newtcpcb()
1875 ssthresh = (ssthresh + tp->t_maxseg / 2) / tp->t_maxseg; in tcp_discardcb()
1878 ssthresh *= (tp->t_maxseg + in tcp_discardcb()
2451 if (mtu < tp->t_maxseg + in tcp_ctlinput()
2603 if (mtu < tp->t_maxseg + in tcp6_ctlinput()
2836 if (so->so_snd.sb_hiwat < tp->t_maxseg) in tcp_mtudisc()
2837 tp->t_maxseg = so->so_snd.sb_hiwat; in tcp_mtudisc()
2942 return (tp->t_maxseg); in tcp_maxseg()
2981 return (tp->t_maxseg - optlen); in tcp_maxseg()
3262 xt->t_maxseg = tp->t_maxseg; in tcp_inptoxtp()
Dtcp_usrreq.c1628 ti->tcpi_snd_mss = tp->t_maxseg; in tcp_fill_info()
1629 ti->tcpi_rcv_mss = tp->t_maxseg; in tcp_fill_info()
1703 if (tp->t_maxseg > TCP6_MSS) { in tcp_ctloutput()
1704 tp->t_maxseg = TCP6_MSS; in tcp_ctloutput()
1955 if (optval > 0 && optval <= tp->t_maxseg && in tcp_default_ctloutput()
1957 tp->t_maxseg = optval; in tcp_default_ctloutput()
2216 optval = tp->t_maxseg; in tcp_default_ctloutput()
2713 tp->t_rxtcur, tp->t_maxseg, tp->t_srtt); in db_print_tcpcb()
Dtcp_input.c487 (tlen <= tp->t_maxseg) && \
3635 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_mss_update()
3644 tp->t_maxseg = V_tcp_mssdflt; in tcp_mss_update()
3670 offer = tp->t_maxseg; in tcp_mss_update()
3751 tp->t_maxseg = mss; in tcp_mss_update()
3769 mss = tp->t_maxseg; in tcp_mss()
3803 tp->t_maxseg = max(mss, 64); in tcp_mss()
Dtcp_var.h99 uint32_t t_maxseg:24, /* maximum segment size */ member
715 uint32_t t_maxseg; /* (s) */ member
Dtcp_timewait.c300 recwin < tp->t_maxseg) in tcp_twstart()
Dtcp_fastopen.c908 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()
Dtcp_reass.c989 if (tp->t_segqlen >= min((so->so_rcv.sb_hiwat / tp->t_maxseg) + 1, in tcp_reass()
Dsiftr.c794 pn->max_seg_size = tp->t_maxseg; in siftr_siftdata()
/freebsd-12-stable/sys/netinet/tcp_stacks/
Drack.c1279 max = rack->r_ctl.rc_early_recovery_segs * tp->t_maxseg; in rack_ack_received()
1414 rack->r_ctl.rc_prr_sndcnt = tp->t_maxseg; in rack_cong_signal()
1440 tp->t_maxseg) * tp->t_maxseg; in rack_cong_signal()
1441 tp->snd_cwnd = tp->t_maxseg; in rack_cong_signal()
1485 i_cwnd = tp->t_maxseg; /* SYN(-ACK) lost */ in rack_cc_after_idle()
1487 i_cwnd = min((V_tcp_initcwnd_segments * tp->t_maxseg), in rack_cc_after_idle()
1488 max(2 * tp->t_maxseg, V_tcp_initcwnd_segments * 1460)); in rack_cc_after_idle()
1490 i_cwnd = min(4 * tp->t_maxseg, in rack_cc_after_idle()
1491 max(2 * tp->t_maxseg, 4380)); in rack_cc_after_idle()
1494 if (tp->t_maxseg > 2190) in rack_cc_after_idle()
[all …]
Drack_bbr_common.c762 return (tp->t_maxseg); in ctf_fixed_maxseg()
797 return (tp->t_maxseg - optlen); in ctf_fixed_maxseg()
/freebsd-12-stable/sys/netinet/khelp/
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()
/freebsd-12-stable/sys/dev/cxgbe/tom/
Dt4_cpl_io.c333 tp->t_maxseg = sc->params.mtus[toep->params.mtu_idx]; in assign_rxopt()
335 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in assign_rxopt()
337 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr); in assign_rxopt()
339 toep->params.emss = tp->t_maxseg; in assign_rxopt()
/freebsd-12-stable/cddl/lib/libdtrace/
Dtcp.d249 tcps_mss = p == NULL ? -1 : p->t_maxseg;
/freebsd-12-stable/usr.bin/netstat/
Dinet.c567 tp->t_maxseg, in protopr()