Lines Matching defs:maxseg

363 	u_int maxseg;
369 maxseg = tcp_maxseg(tp);
393 tp->snd_ssthresh = max(2 * maxseg, metrics.hc_ssthresh);
405 tp->snd_cwnd = maxseg; /* SYN(-ACK) lost */
407 tp->snd_cwnd = tcp_compute_initwnd(maxseg);
1537 u_int maxseg = 0;
2586 maxseg = tcp_maxseg(tp);
2654 sack_changed, &maxseg);
2673 tp->snd_cwnd += imax(maxseg,
2674 imin(2 * maxseg,
2682 tp->snd_cwnd += imax(maxseg,
2683 imin(2 * maxseg,
2686 tp->snd_cwnd += maxseg;
2694 (tcprexmtthresh - 1) * maxseg)) {
2698 * more than (dupthresh-1)*maxseg sacked data.
2744 (tp->snd_limited + 1) * maxseg);
2747 maxseg;
2764 maxseg;
2774 tp->snd_cwnd = maxseg;
2780 maxseg *
2816 maxseg - tcp_sack_adjust(tp);
2831 if (sent > maxseg) {
2834 (sent == maxseg + 1 &&
2867 /* limit overhead by setting maxseg last */
2871 (maxseg = tcp_maxseg(tp))))) {
2894 sack_changed, &maxseg);
2899 &maxseg);
2914 &maxseg);
3778 * Determine a reasonable value for maxseg size.
3932 * Sanity check: make sure that maxseg will be large
3996 * Sanity check: make sure that maxseg will be large
4087 u_int maxseg;
4094 maxseg = *maxsegp;
4110 if (tp->sackhint.prr_delivered < (tcprexmtthresh * maxseg +
4112 del_data = maxseg;
4115 imin(INT_MAX / 65536, tp->t_dupacks) * maxseg);
4127 tp->sackhint.prr_out + maxseg - 1;
4145 maxseg;
4149 snd_cnt = imax(snd_cnt, 0) / maxseg;
4157 tp->snd_cwnd = pipe - del_data + (snd_cnt * maxseg);
4160 (snd_cnt * maxseg);
4163 tp->snd_cwnd = pipe - del_data + (snd_cnt * maxseg);
4165 tp->snd_cwnd = imax(maxseg, tp->snd_cwnd);
4179 u_int maxseg = tcp_maxseg(tp);
4191 tp->snd_cwnd = maxseg + BYTES_THIS_ACK(tp, th);
4206 tp->snd_cwnd += maxseg;
4223 tcp_compute_initwnd(uint32_t maxseg)
4234 return min(V_tcp_initcwnd_segments * maxseg,
4235 max(2 * maxseg, V_tcp_initcwnd_segments * 1460));
4237 return min(4 * maxseg, max(2 * maxseg, 4380));
4240 if (maxseg > 2190)
4241 return (2 * maxseg);
4242 else if (maxseg > 1095)
4243 return (3 * maxseg);
4245 return (4 * maxseg);