/freebsd/sys/netinet/ |
H A D | tcp_timer.c | 665 if (tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss) in tcp_timer_rexmt() 667 if (tp->t_maxseg > V_tcp_v6mssdflt && in tcp_timer_rexmt() 673 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss) in tcp_timer_rexmt() 675 if (tp->t_maxseg > V_tcp_mssdflt && in tcp_timer_rexmt() 696 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in tcp_timer_rexmt() 705 tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss && in tcp_timer_rexmt() 708 tp->t_maxseg = V_tcp_v6pmtud_blackhole_mss; in tcp_timer_rexmt() 712 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_timer_rexmt() 725 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss && in tcp_timer_rexmt() 728 tp->t_maxseg = V_tcp_pmtud_blackhole_mss; in tcp_timer_rexmt() [all …]
|
H A D | tcp_output.c | 561 if ((tp->t_flags & TF_TSO) && V_tcp_do_tso && len > tp->t_maxseg && in tcp_default_output() 591 if (len >= tp->t_maxseg) in tcp_default_output() 605 len) >= tp->t_maxseg) in tcp_default_output() 687 if (adv >= (int32_t)(2 * tp->t_maxseg) && in tcp_default_output() 690 so->so_rcv.sb_hiwat <= 8 * tp->t_maxseg || in tcp_default_output() 766 if (len >= tp->t_maxseg) in tcp_default_output() 905 if (len + optlen + ipoptlen > tp->t_maxseg) { in tcp_default_output() 947 max_len = tp->t_maxseg - optlen - ipsec_optlen; in tcp_default_output() 977 if (optlen + ipoptlen >= tp->t_maxseg) { in tcp_default_output() 991 len = tp->t_maxseg - optlen - ipoptlen; in tcp_default_output() [all …]
|
H A D | tcp_sack.c | 566 int maxseg = tp->t_maxseg - MAX_TCPOPTLEN; in tcp_sack_doack() 747 (loss_thresh > (tcprexmtthresh-1)*tp->t_maxseg))) in tcp_sack_doack() 753 (loss_thresh > (tcprexmtthresh-1)*tp->t_maxseg))) { in tcp_sack_doack() 778 (loss_thresh > (tcprexmtthresh-1)*tp->t_maxseg))) in tcp_sack_doack() 840 (loss_thresh > (tcprexmtthresh-1)*tp->t_maxseg))) in tcp_sack_doack() 863 (loss_thresh > (tcprexmtthresh-1)*tp->t_maxseg))) in tcp_sack_doack()
|
H A D | tcp_subr.c | 2105 log.u_bbr.pkts_out = tp->t_maxseg; in tcp_respond() 2285 tp->t_maxseg = in tcp_newtcpcb() 2490 ssthresh = (ssthresh + tp->t_maxseg / 2) / tp->t_maxseg; in tcp_discardcb() 2493 ssthresh *= (tp->t_maxseg + in tcp_discardcb() 2884 if (mtu < tp->t_maxseg + in tcp_ctlinput_with_port() 3079 if (mtu < tp->t_maxseg + in tcp6_ctlinput_with_port() 3335 if (so->so_snd.sb_hiwat < tp->t_maxseg) { in tcp_mtudisc() 3336 tp->t_maxseg = so->so_snd.sb_hiwat; in tcp_mtudisc() 3337 if (tp->t_maxseg < V_tcp_mssdflt) { in tcp_mtudisc() 3484 tp->t_maxseg > TCP6_MSS) { in tcp6_use_min_mtu() [all …]
|
H A D | tcp_var.h | 337 uint32_t t_maxseg:24, /* maximum segment size */ member 766 return ((ack - tp->snd_una) / tp->t_maxseg + in tcp_packets_this_ack() 767 ((((ack - tp->snd_una) % tp->t_maxseg) != 0) ? 1 : 0)); in tcp_packets_this_ack() 1204 uint32_t t_maxseg; /* (s) */ member
|
H A D | tcp_input.c | 517 (tlen <= tp->t_maxseg) && \ 3818 tp->t_maxseg = V_tcp_v6mssdflt; in tcp_mss_update() 3827 tp->t_maxseg = V_tcp_mssdflt; in tcp_mss_update() 3853 offer = tp->t_maxseg; in tcp_mss_update() 3931 tp->t_maxseg = mss; in tcp_mss_update() 3932 if (tp->t_maxseg < V_tcp_mssdflt) { in tcp_mss_update() 3960 mss = tp->t_maxseg; in tcp_mss() 3993 tp->t_maxseg = max(mss, 64); in tcp_mss() 3994 if (tp->t_maxseg < V_tcp_mssdflt) { in tcp_mss()
|
H A D | tcp_usrreq.c | 1603 ti->tcpi_snd_mss = tp->t_maxseg; in tcp_fill_info() 1604 ti->tcpi_rcv_mss = tp->t_maxseg; in tcp_fill_info() 2189 if (optval > 0 && optval <= tp->t_maxseg && in tcp_default_ctloutput() 2191 tp->t_maxseg = optval; in tcp_default_ctloutput() 2192 if (tp->t_maxseg < V_tcp_mssdflt) { in tcp_default_ctloutput() 2492 optval = tp->t_maxseg; in tcp_default_ctloutput() 3145 tp->t_rxtcur, tp->t_maxseg, tp->t_srtt); in db_print_tcpcb()
|
H A D | tcp_fastopen.c | 902 tp->snd_wnd = tp->t_maxseg; in tcp_fastopen_connect()
|
H A D | siftr.c | 686 pn->mss = tp->t_maxseg; in siftr_siftdata()
|
H A D | tcp_reass.c | 993 if (tp->t_segqlen >= min((so->so_rcv.sb_hiwat / tp->t_maxseg) + 1, in tcp_reass()
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | bbr.c | 525 mss = min((bbr->rc_tp->t_maxseg - bbr->rc_last_options), in get_min_cwnd() 2728 log.u_bbr.pkts_out = bbr->rc_tp->t_maxseg; in bbr_type_log_hdwr_pacing() 2791 log.u_bbr.flex2 = (bbr->rc_tp->t_maxseg - bbr->rc_last_options); in bbr_log_exit_gain() 3385 i_cwnd = bbr->rc_init_win * tp->t_maxseg; in bbr_initial_cwnd() 3387 i_cwnd = min((V_tcp_initcwnd_segments * tp->t_maxseg), in bbr_initial_cwnd() 3388 max(2 * tp->t_maxseg, 14600)); in bbr_initial_cwnd() 3390 i_cwnd = min(4 * tp->t_maxseg, in bbr_initial_cwnd() 3391 max(2 * tp->t_maxseg, 4380)); in bbr_initial_cwnd() 3394 if (tp->t_maxseg > 2190) in bbr_initial_cwnd() 3395 i_cwnd = 2 * tp->t_maxseg; in bbr_initial_cwnd() [all …]
|
H A D | rack.c | 2207 ether = rack->rc_tp->t_maxseg + sizeof(struct tcphdr); in rack_compensate_for_linerate() 2583 log.u_bbr.pkts_out = rack->rc_tp->t_maxseg; in rack_log_hdwr_pacing() 5821 i_cwnd = tp->t_maxseg; /* SYN(-ACK) lost */ in rack_cc_after_idle() 5849 (tlen <= tp->t_maxseg) && \ 7830 tp->t_pmtud_saved_maxseg = tp->t_maxseg; in rack_timeout_rxt() 7839 tp->t_maxseg > V_tcp_v6pmtud_blackhole_mss) { in rack_timeout_rxt() 7841 tp->t_maxseg = V_tcp_v6pmtud_blackhole_mss; in rack_timeout_rxt() 7845 tp->t_maxseg = V_tcp_v6mssdflt; in rack_timeout_rxt() 7858 if (tp->t_maxseg > V_tcp_pmtud_blackhole_mss) { in rack_timeout_rxt() 7860 tp->t_maxseg = V_tcp_pmtud_blackhole_mss; in rack_timeout_rxt() [all …]
|
/freebsd/sys/netinet/khelp/ |
H A D | h_ertt.c | 253 if (acked > tp->t_maxseg) { in ertt_packet_measurement_hook() 263 } else if (acked == tp->t_maxseg || in ertt_packet_measurement_hook()
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_tom.c | 951 tp->t_maxseg = mtus[toep->params.mtu_idx]; in t4_pmtu_update() 953 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in t4_pmtu_update() 955 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr); in t4_pmtu_update() 956 toep->params.emss = tp->t_maxseg; in t4_pmtu_update() 979 mtus[toep->params.mtu_idx], tp->t_maxseg, toep->params.emss); in t4_pmtu_update()
|
H A D | t4_cpl_io.c | 305 tp->t_maxseg = sc->params.mtus[toep->params.mtu_idx]; in assign_rxopt() 307 tp->t_maxseg -= sizeof(struct ip6_hdr) + sizeof(struct tcphdr); in assign_rxopt() 309 tp->t_maxseg -= sizeof(struct ip) + sizeof(struct tcphdr); in assign_rxopt() 311 toep->params.emss = tp->t_maxseg; in assign_rxopt()
|
/freebsd/cddl/lib/libdtrace/ |
H A D | tcp.d | 249 tcps_mss = p == NULL ? -1 : p->t_maxseg;
|
/freebsd/sys/dev/cxgbe/cxgbei/ |
H A D | icl_cxgbei.c | 1196 tp->t_maxseg); in icl_cxgbei_conn_handoff() 1207 roundup(max_iso_pdus * max_tx_pdu_len, tp->t_maxseg)); in icl_cxgbei_conn_handoff()
|
/freebsd/usr.bin/netstat/ |
H A D | inet.c | 541 tp->t_maxseg, in protopr()
|