Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/netinet/cc/
HDcc_newreno.c90 u_int incr = CCV(ccv, t_maxseg); in newreno_ack_received()
140 V_tcp_abc_l_var * CCV(ccv, t_maxseg)); in newreno_ack_received()
142 incr = min(ccv->bytes_this_ack, CCV(ccv, t_maxseg)); in newreno_ack_received()
170 rw = min(4 * CCV(ccv, t_maxseg), in newreno_after_idle()
171 max(2 * CCV(ccv, t_maxseg), 4380)); in newreno_after_idle()
173 rw = CCV(ccv, t_maxseg) * 2; in newreno_after_idle()
190 win = max(CCV(ccv, snd_cwnd) / 2 / CCV(ccv, t_maxseg), 2) * in newreno_cong_signal()
191 CCV(ccv, t_maxseg); in newreno_cong_signal()
240 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in newreno_post_recovery()
241 CCV(ccv, t_maxseg); in newreno_post_recovery()
HDcc_chd.c145 win = min(CCV(ccv, snd_wnd), CCV(ccv, snd_cwnd)) / CCV(ccv, t_maxseg); in chd_window_decrease()
147 CCV(ccv, snd_ssthresh) = max(win, 2) * CCV(ccv, t_maxseg); in chd_window_decrease()
198 V_tcp_abc_l_var * CCV(ccv, t_maxseg)); in chd_window_increase()
202 CCV(ccv, t_maxseg)); in chd_window_increase()
205 incr = CCV(ccv, t_maxseg); in chd_window_increase()
211 incr = CCV(ccv, t_maxseg); in chd_window_increase()
214 incr = CCV(ccv, t_maxseg); in chd_window_increase()
370 CCV(ccv, t_maxseg) / 2, 2) * CCV(ccv, t_maxseg); in chd_cong_signal()
HDcc_htcp.c220 CCV(ccv, t_maxseg); in htcp_ack_received()
230 CCV(ccv, t_maxseg))) * CCV(ccv, t_maxseg)) in htcp_ack_received()
373 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in htcp_post_recovery()
374 CCV(ccv, t_maxseg); in htcp_post_recovery()
377 htcp_data->prev_cwnd / CCV(ccv, t_maxseg)) in htcp_post_recovery()
378 >> HTCP_SHIFT)) * CCV(ccv, t_maxseg); in htcp_post_recovery()
HDcc_cubic.c150 CCV(ccv, t_maxseg)); in cubic_ack_received()
154 CCV(ccv, t_maxseg), cubic_data->K); in cubic_ack_received()
175 CCV(ccv, t_maxseg)) / in cubic_ack_received()
331 CCV(ccv, snd_cwnd) = max(pipe, CCV(ccv, t_maxseg)) + in cubic_post_recovery()
332 CCV(ccv, t_maxseg); in cubic_post_recovery()
349 cubic_data->K = cubic_k(cubic_data->max_cwnd / CCV(ccv, t_maxseg)); in cubic_post_recovery()
HDcc_dctcp.c125 bytes_acked = CCV(ccv, t_maxseg); in dctcp_ack_received()
136 && bytes_acked > CCV(ccv, t_maxseg)) { in dctcp_ack_received()
138 (bytes_acked - CCV(ccv, t_maxseg)); in dctcp_ack_received()
144 && bytes_acked > CCV(ccv, t_maxseg)) in dctcp_ack_received()
145 dctcp_data->bytes_ecn += CCV(ccv, t_maxseg); in dctcp_ack_received()
235 mss = CCV(ccv, t_maxseg); in dctcp_cong_signal()
283 dctcp_data->save_sndnxt += CCV(ccv, t_maxseg); in dctcp_cong_signal()
HDcc_vegas.c138 e_t->minrtt / CCV(ccv, t_maxseg); in vegas_ack_received()
150 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()
HDcc_cdg.c415 incr = CCV(ccv, t_maxseg); in cdg_window_increase()
421 s_w_incr = CCV(ccv, t_maxseg); in cdg_window_increase()
423 incr = CCV(ccv, t_maxseg); in cdg_window_increase()
429 incr = CCV(ccv, t_maxseg) * in cdg_window_increase()
/freebsd-11-stable/sys/netinet/
HDtcp_output.c316 min(len, tp->t_maxseg)); in tcp_output()
580 if ((tp->t_flags & TF_TSO) && V_tcp_do_tso && len > tp->t_maxseg && in tcp_output()
610 if (len >= tp->t_maxseg) in tcp_output()
690 if (adv >= (long)(2 * tp->t_maxseg) && in tcp_output()
693 so->so_rcv.sb_hiwat <= 8 * tp->t_maxseg)) in tcp_output()
768 if (len >= tp->t_maxseg) in tcp_output()
869 if (len + optlen + ipoptlen > tp->t_maxseg) { in tcp_output()
972 max_len = (tp->t_maxseg - optlen); in tcp_output()
1002 len = tp->t_maxseg - optlen - ipoptlen; in tcp_output()
1224 recwin < (long)tp->t_maxseg) in tcp_output()
[all …]
HDtcp_timer.c701 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in tcp_timer_rexmt()
711 tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss) { in tcp_timer_rexmt()
713 tp->t_maxseg = V_tcp_v6pmtud_blackhole_mss; in tcp_timer_rexmt()
717 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_timer_rexmt()
730 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss) { in tcp_timer_rexmt()
732 tp->t_maxseg = V_tcp_pmtud_blackhole_mss; in tcp_timer_rexmt()
736 tp->t_maxseg = V_tcp_mssdflt; in tcp_timer_rexmt()
764 tp->t_maxseg = tp->t_pmtud_saved_maxseg; in tcp_timer_rexmt()
HDtcp_subr.c1221 tp->t_maxseg = in tcp_newtcpcb()
1430 ssthresh = (ssthresh + tp->t_maxseg / 2) / tp->t_maxseg; in tcp_discardcb()
1433 ssthresh *= (u_long)(tp->t_maxseg + in tcp_discardcb()
2014 if (mtu < tp->t_maxseg + in tcp_ctlinput()
2165 if (mtu < tp->t_maxseg + in tcp6_ctlinput()
2382 if (so->so_snd.sb_hiwat < tp->t_maxseg) in tcp_mtudisc()
2383 tp->t_maxseg = so->so_snd.sb_hiwat; in tcp_mtudisc()
2488 return (tp->t_maxseg); in tcp_maxseg()
2528 return (tp->t_maxseg - optlen); in tcp_maxseg()
HDtcp_usrreq.c1408 ti->tcpi_snd_mss = tp->t_maxseg; in tcp_fill_info()
1409 ti->tcpi_rcv_mss = tp->t_maxseg; in tcp_fill_info()
1479 if (tp->t_maxseg > TCP6_MSS) { in tcp_ctloutput()
1480 tp->t_maxseg = TCP6_MSS; in tcp_ctloutput()
1686 if (optval > 0 && optval <= tp->t_maxseg && in tcp_default_ctloutput()
1688 tp->t_maxseg = optval; in tcp_default_ctloutput()
1866 optval = tp->t_maxseg; in tcp_default_ctloutput()
2342 tp->t_rxtcur, tp->t_maxseg, tp->t_srtt); in db_print_tcpcb()
HDtcp_sack.c781 if ((BYTES_THIS_ACK(tp, th) / tp->t_maxseg) >= 2) in tcp_sack_partialack()
784 (tp->snd_nxt - tp->sack_newdata) + num_segs * tp->t_maxseg); in tcp_sack_partialack()
HDtcp_input.c492 (tlen <= tp->t_maxseg) && \
3655 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_mss_update()
3664 tp->t_maxseg = V_tcp_mssdflt; in tcp_mss_update()
3690 offer = tp->t_maxseg; in tcp_mss_update()
3771 tp->t_maxseg = mss; in tcp_mss_update()
3789 mss = tp->t_maxseg; in tcp_mss()
3823 tp->t_maxseg = max(mss, 64); in tcp_mss()
HDtcp_timewait.c302 recwin < tp->t_maxseg) in tcp_twstart()
HDtcp_var.h209 u_int t_maxseg; /* maximum segment size */ member
HDtcp_reass.c988 if (tp->t_segqlen >= min((so->so_rcv.sb_hiwat / tp->t_maxseg) + 1, in tcp_reass()
HDsiftr.c787 pn->max_seg_size = tp->t_maxseg; in siftr_siftdata()
/freebsd-11-stable/sys/netinet/tcp_stacks/
HDfastpath.c154 (tlen <= tp->t_maxseg) && \
1037 tp->snd_cwnd += tp->t_maxseg; in tcp_do_slowpath()
1042 tp->snd_cwnd += tp->t_maxseg; in tcp_do_slowpath()
1076 tp->snd_cwnd = tp->t_maxseg; in tcp_do_slowpath()
1081 tp->snd_cwnd = tp->t_maxseg; in tcp_do_slowpath()
1087 tp->t_maxseg * in tcp_do_slowpath()
1118 tp->t_maxseg; in tcp_do_slowpath()
1131 if (sent > tp->t_maxseg) { in tcp_do_slowpath()
1134 (sent == tp->t_maxseg + 1 && in tcp_do_slowpath()
/freebsd-11-stable/sys/netinet/khelp/
HDh_ertt.c254 if (acked > tp->t_maxseg) { in ertt_packet_measurement_hook()
264 } else if (acked == tp->t_maxseg || in ertt_packet_measurement_hook()
/freebsd-11-stable/sys/dev/cxgbe/tom/
HDt4_cpl_io.c350 tp->t_maxseg = sc->params.mtus[toep->mtu_idx]; in assign_rxopt()
352 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in assign_rxopt()
354 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr); in assign_rxopt()
356 toep->emss = tp->t_maxseg; in assign_rxopt()
366 sc->params.mtus[G_TCPOPT_MSS(opt)], tp->t_maxseg, toep->emss); in assign_rxopt()
/freebsd-11-stable/cddl/lib/libdtrace/
HDtcp.d223 tcps_mss = p == NULL ? -1 : p->t_maxseg;
/freebsd-11-stable/sys/dev/cxgb/ulp/tom/
HDcxgb_cpl_io.c1538 tp->t_maxseg = sc->params.mtus[G_TCPOPT_MSS(tcpopt)] - 40; in assign_rxopt()
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
HDiw_cxgb_cm.c207 ep->emss = tp->t_maxseg; in set_tcpinfo()