Searched refs:t_maxseg (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_timer.c210 * don't... instead halve the t_maxseg, which might break up the NULLs and
215 tp->t_maxseg >>= 1;
216 if (tp->t_maxseg < 32)
283 u_int win = min(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg;
286 tp->snd_cwnd = tp->t_maxseg;
287 tp->snd_ssthresh = win * tp->t_maxseg;
H A Dtcp_output.c119 tp->snd_cwnd = tp->t_maxseg;
187 if (len > tp->t_maxseg)
189 len = tp->t_maxseg;
209 if (len == tp->t_maxseg)
240 if (adv >= (long) (2 * tp->t_maxseg))
366 * bump the packet length beyond the t_maxseg length.
368 if (len > tp->t_maxseg - optlen)
370 len = tp->t_maxseg - optlen;
549 if (win < (long)(SBUF_SIZE(&so->so_rcv) / 4) && win < (long)tp->t_maxseg)
H A Dtcp_var.h86 uint16_t t_maxseg; /* maximum segment size */ member in struct:tcpcb
H A Dtcp_input.c1290 u_int win = min(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg;
1293 tp->snd_ssthresh = win * tp->t_maxseg;
1297 tp->snd_cwnd = tp->t_maxseg;
1300 tp->t_maxseg * tp->t_dupacks;
1308 tp->snd_cwnd += tp->t_maxseg;
1377 register u_int incr = tp->t_maxseg;
1837 (void) tcp_mss(pData, tp, mss); /* sets t_maxseg */
2017 if (mss < tp->t_maxseg || offer != 0)
2018 tp->t_maxseg = mss;
H A Dtcp_subr.c206 tp->t_maxseg = tcp_mssdflt;
335 tp->snd_cwnd = tp->t_maxseg;
H A Dsocket.c245 int mss = so->so_tcpcb->t_maxseg;

Completed in 69 milliseconds