Home
last modified time | relevance | path

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

/openbsd/src/sys/netinet/
Dtcp_output.c246 tp->snd_cwnd = 2 * tp->t_maxseg; in tcp_output()
281 len = min(tp->t_maxseg, p->end - p->rxmit); in tcp_output()
283 tp->snd_cwnd -= tp->t_maxseg; in tcp_output()
353 txmaxseg = ulmin(so->so_snd.sb_hiwat / 2, tp->t_maxseg); in tcp_output()
362 len >= 2 * tp->t_maxseg && in tcp_output()
367 if (len > (len / tp->t_maxseg) * tp->t_maxseg) { in tcp_output()
368 len = (len / tp->t_maxseg) * tp->t_maxseg; in tcp_output()
427 if (adv >= (long) (2 * tp->t_maxseg)) in tcp_output()
765 m->m_pkthdr.ph_mss = tp->t_maxseg; in tcp_output()
863 if (win < (rcv_hiwat / 4) && win < (long)tp->t_maxseg) in tcp_output()
[all …]
Dtcp_timer.c214 SEQ_LT(tp->t_pmtud_th_seq, (int)(tp->snd_una + tp->t_maxseg))) { in tcp_timer_rexmt()
374 win = ulmin(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg; in tcp_timer_rexmt()
377 tp->snd_cwnd = tp->t_maxseg; in tcp_timer_rexmt()
378 tp->snd_ssthresh = win * tp->t_maxseg; in tcp_timer_rexmt()
Dtcp_input.c1156 tp->snd_cwnd = tp->t_maxseg; in tcp_input()
1213 tp->snd_cwnd += tp->t_maxseg; in tcp_input()
1515 win = min(tp->snd_wnd, tp->snd_cwnd) / tp->t_maxseg; in tcp_input()
1517 tp->snd_ssthresh = win / 2 * tp->t_maxseg; in tcp_input()
1601 2 / tp->t_maxseg; in tcp_input()
1613 tp->snd_ssthresh = win * tp->t_maxseg; in tcp_input()
1629 tp->t_maxseg * tp->t_dupacks; in tcp_input()
1635 tp->snd_cwnd = tp->t_maxseg; in tcp_input()
1644 tp->t_maxseg * tp->t_dupacks; in tcp_input()
1649 tp->snd_cwnd += tp->t_maxseg; in tcp_input()
[all …]
Dtcp_usrreq.c259 ti->tcpi_snd_mss = tp->t_maxseg; in tcp_fill_info()
379 if (i > 0 && i <= tp->t_maxseg) in tcp_ctloutput()
380 tp->t_maxseg = i; in tcp_ctloutput()
443 *mtod(m, int *) = tp->t_maxseg; in tcp_ctloutput()
1573 nmax = roundup(nmax, tp->t_maxseg); in tcp_update_sndspace()
1620 nmax = roundup(nmax, tp->t_maxseg); in tcp_update_rcvspace()
Dtcp_subr.c437 tp->t_maxseg = atomic_load_int(&tcp_mssdflt); in tcp_newtcpcb()
864 orig_maxseg = tp->t_maxseg; in tcp_mtudisc()
882 if (orig_maxseg > tp->t_maxseg) in tcp_mtudisc()
Dtcp_var.h78 u_short t_maxseg; /* maximum segment size */ member
/openbsd/src/usr.bin/netstat/
Dinet.c1530 p("%u", t_maxseg, ", "); in tcpcb_dump()