Searched refs:maxseg (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/netinet/ |
| H A D | tcp_input.c | 364 u_int maxseg; in cc_conn_init() local 370 maxseg = tcp_maxseg(tp); in cc_conn_init() 394 tp->snd_ssthresh = max(2 * maxseg, metrics.hc_ssthresh); in cc_conn_init() 406 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */ in cc_conn_init() 408 tp->snd_cwnd = tcp_compute_initwnd(maxseg); in cc_conn_init() 1498 u_int maxseg = 0; in tcp_do_segment() local 2575 maxseg = tcp_maxseg(tp); in tcp_do_segment() 2585 sack_changed, &maxseg); in tcp_do_segment() 2599 tp->snd_cwnd += imax(maxseg, in tcp_do_segment() 2600 imin(2 * maxseg, in tcp_do_segment() [all …]
|
| H A D | tcp_sack.c | 560 int maxseg = tp->t_maxseg - MAX_TCPOPTLEN; in tcp_sack_doack() local 608 ((sack.end - sack.start) >= maxseg || in tcp_sack_doack() 952 u_int maxseg; in tcp_sack_partialack() local 959 maxseg = *maxsegp; in tcp_sack_partialack() 963 if ((BYTES_THIS_ACK(tp, th) / maxseg) >= 2) in tcp_sack_partialack() 967 (tp->snd_nxt - tp->snd_recover) + num_segs * maxseg); in tcp_sack_partialack() 1010 highdata - maxseg), highdata, NULL)) != NULL) { in tcp_sack_partialack()
|
| /freebsd/sys/netinet/tcp_stacks/ |
| H A D | bbr.c | 1956 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 1963 log.u_bbr.flex2 = maxseg; in bbr_log_msgsize_fail() 2563 …_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 2574 log.u_bbr.flex6 = maxseg; in bbr_log_type_tsosize() 3526 uint32_t seg_oh, num_segs, maxseg; in bbr_get_pacing_delay() local 3531 maxseg = bbr->rc_tp->t_maxseg - bbr->rc_last_options; in bbr_get_pacing_delay() 3532 num_segs = (len + maxseg - 1) / maxseg; in bbr_get_pacing_delay() 3580 uint32_t cwnd, target_cwnd, saved_bytes, maxseg; in bbr_ack_received() local 3616 maxseg = tp->t_maxseg - bbr->rc_last_options; in bbr_ack_received() 3625 if ((bytes_this_ack < maxseg) && bbr->rc_use_google) in bbr_ack_received() [all …]
|
| /freebsd/sys/netinet/cc/ |
| H A D | cc_cubic.c | 84 static uint32_t cubic_get_ssthresh(struct cc_var *ccv, uint32_t maxseg); 621 cubic_get_ssthresh(struct cc_var *ccv, uint32_t maxseg) in cubic_get_ssthresh() argument 637 return (newreno_cc_cwnd_on_multiplicative_decrease(ccv, maxseg)); in cubic_get_ssthresh()
|
| /freebsd/sys/kern/ |
| H A D | uipc_mbuf.c | 1860 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()
|