Lines Matching refs:mss
180 tcp_mss_set(tcp_t *tcp, uint32_t mss)
191 if (mss < tcps->tcps_mss_min)
192 mss = tcps->tcps_mss_min;
193 if (mss > mss_max)
194 mss = mss_max;
197 * a non-mss value, force naglim to track mss.
200 if (mss < tcp->tcp_naglim || tcp->tcp_mss == tcp->tcp_naglim)
201 tcp->tcp_naglim = mss;
206 if ((mss << 2) > connp->conn_sndbuf)
207 connp->conn_sndbuf = mss << 2;
212 if ((mss << 1) > connp->conn_sndlowat)
213 connp->conn_sndlowat = mss << 1;
219 tcp->tcp_cwnd = (tcp->tcp_cwnd / tcp->tcp_mss) * mss;
222 tcp->tcp_mss = mss;
235 uint32_t mss;
272 mss = BE16_TO_U16(up+2);
274 tcpopt->tcp_opt_mss = mss;
1604 * Adapt our mss, ttl, ... based on the remote address.
2329 int mss;
2906 mss = tcp->tcp_mss;
3814 tcp->tcp_cwnd = mss;
3859 npkt = ((tcp->tcp_snxt - tcp->tcp_suna) >> 1) / mss;
3860 tcp->tcp_cwnd_ssthresh = MAX(npkt, 2) * mss;
3861 tcp->tcp_cwnd = npkt * mss;
3930 tcp->tcp_cwnd += mss <<
3952 tcp->tcp_suna) >> 1) / mss;
3954 mss;
3956 tcp->tcp_dupack_cnt) * mss;
4027 tcp->tcp_pipe -= mss;
4036 cwnd = tcp->tcp_cwnd + mss;
4193 tcp->tcp_pipe -= mss;
4209 tcps->tcps_dupack_fast_retransmit * mss;
4271 add = mss;
4643 } else if (seg_len < mss) {
4645 * If we get a segment that is less than an mss, and we
4647 * unacknowledged is not a multiple of mss, then we
4656 if (udif && (udif % mss))
4824 if (snd_size > mss)
4825 snd_size = mss;
4862 tcp->tcp_cwnd -= mss << (tcp->tcp_dupack_cnt - 1);