| /freebsd-12-stable/sys/netinet/cc/ |
| D | cc_chd.c | 147 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()
|
| D | cc_newreno.c | 137 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()
|
| D | cc_cubic.c | 167 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()
|
| D | cc_htcp.c | 222 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()
|
| D | cc_dctcp.c | 126 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()
|
| D | cc_vegas.c | 140 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()
|
| D | cc_cdg.c | 417 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/ |
| D | tcp_timer.c | 714 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 …]
|
| D | tcp_output.c | 549 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 …]
|
| D | tcp_subr.c | 1657 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()
|
| D | tcp_usrreq.c | 1628 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()
|
| D | tcp_input.c | 487 (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()
|
| D | tcp_var.h | 99 uint32_t t_maxseg:24, /* maximum segment size */ member 715 uint32_t t_maxseg; /* (s) */ member
|
| D | tcp_timewait.c | 300 recwin < tp->t_maxseg) in tcp_twstart()
|
| D | tcp_fastopen.c | 908 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()
|
| D | tcp_reass.c | 989 if (tp->t_segqlen >= min((so->so_rcv.sb_hiwat / tp->t_maxseg) + 1, in tcp_reass()
|
| D | siftr.c | 794 pn->max_seg_size = tp->t_maxseg; in siftr_siftdata()
|
| /freebsd-12-stable/sys/netinet/tcp_stacks/ |
| D | rack.c | 1279 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 …]
|
| D | rack_bbr_common.c | 762 return (tp->t_maxseg); in ctf_fixed_maxseg() 797 return (tp->t_maxseg - optlen); in ctf_fixed_maxseg()
|
| /freebsd-12-stable/sys/netinet/khelp/ |
| D | h_ertt.c | 256 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/ |
| D | t4_cpl_io.c | 333 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/ |
| D | tcp.d | 249 tcps_mss = p == NULL ? -1 : p->t_maxseg;
|
| /freebsd-12-stable/usr.bin/netstat/ |
| D | inet.c | 567 tp->t_maxseg, in protopr()
|