Home
last modified time | relevance | path

Searched refs:maxseg (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp_input.c368 u_int maxseg; in cc_conn_init() local
374 maxseg = tcp_maxseg(tp); in cc_conn_init()
398 tp->snd_ssthresh = max(2 * maxseg, metrics.hc_ssthresh); in cc_conn_init()
410 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */ in cc_conn_init()
412 tp->snd_cwnd = tcp_compute_initwnd(maxseg); in cc_conn_init()
1535 u_int maxseg = 0; in tcp_do_segment() local
2581 maxseg = tcp_maxseg(tp); in tcp_do_segment()
2649 sack_changed, &maxseg); in tcp_do_segment()
2663 tp->snd_cwnd += imax(maxseg, in tcp_do_segment()
2664 imin(2 * maxseg, in tcp_do_segment()
[all …]
H A Dtcp_sack.c566 int maxseg = tp->t_maxseg - MAX_TCPOPTLEN; in tcp_sack_doack() local
614 ((sack.end - sack.start) >= maxseg || in tcp_sack_doack()
958 u_int maxseg; in tcp_sack_partialack() local
965 maxseg = *maxsegp; in tcp_sack_partialack()
969 if ((BYTES_THIS_ACK(tp, th) / maxseg) >= 2) in tcp_sack_partialack()
973 (tp->snd_nxt - tp->snd_recover) + num_segs * maxseg); in tcp_sack_partialack()
1017 highdata - maxseg), highdata, NULL)) != NULL) { in tcp_sack_partialack()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c1960 bbr_log_msgsize_fail(struct tcp_bbr *bbr, struct tcpcb *tp, uint32_t len, uint32_t maxseg, uint32_t… in bbr_log_msgsize_fail() argument
1967 log.u_bbr.flex2 = maxseg; in bbr_log_msgsize_fail()
2570 …_bbr *bbr, uint32_t cts, uint32_t tsosz, uint32_t tls, uint32_t old_val, uint32_t maxseg, int hdwr) in bbr_log_type_tsosize() argument
2581 log.u_bbr.flex6 = maxseg; in bbr_log_type_tsosize()
3533 uint32_t seg_oh, num_segs, maxseg; in bbr_get_pacing_delay() local
3538 maxseg = bbr->rc_tp->t_maxseg - bbr->rc_last_options; in bbr_get_pacing_delay()
3539 num_segs = (len + maxseg - 1) / maxseg; in bbr_get_pacing_delay()
3587 uint32_t cwnd, target_cwnd, saved_bytes, maxseg; in bbr_ack_received() local
3623 maxseg = tp->t_maxseg - bbr->rc_last_options; in bbr_ack_received()
3632 if ((bytes_this_ack < maxseg) && bbr->rc_use_google) in bbr_ack_received()
[all …]
/freebsd/sys/netinet/cc/
H A Dcc_cubic.c84 static void cubic_ssthresh_update(struct cc_var *ccv, uint32_t maxseg);
609 cubic_ssthresh_update(struct cc_var *ccv, uint32_t maxseg) in cubic_ssthresh_update() argument
627 ssthresh = newreno_cc_cwnd_on_multiplicative_decrease(ccv, maxseg); in cubic_ssthresh_update()
643 CCV(ccv, snd_ssthresh) = max(ssthresh, 2 * maxseg); in cubic_ssthresh_update()
/freebsd/sys/kern/
H A Duipc_mbuf.c1860 m_uiotombuf_nomap(struct uio *uio, int how, int len, int maxseg, int flags) in m_uiotombuf_nomap() argument
1880 if (maxseg == 0) in m_uiotombuf_nomap()
1881 maxseg = MBUF_PEXT_MAX_PGS * PAGE_SIZE; in m_uiotombuf_nomap()
1911 needed = length = MIN(maxseg, total); in m_uiotombuf_nomap()