Lines Matching refs:mss
4023 u_short mss = 0;
4049 bcopy((char *) cp + 2, (char *) &mss, sizeof(mss));
4052 NTOHS(mss);
4112 tcp_mss(tp, mss, input_ifscope); /* sets t_maxseg */
4318 * If none, use an mss that can be handled on the outgoing
4348 register int rtt, mss;
4460 mss = (isipv6 ? tcp_maxmtu6(rt) : tcp_maxmtu(rt));
4462 mss = tcp_maxmtu(rt);
4464 mss -= min_protoh;
4470 mss = min(mss, tcp_v6mssdflt);
4474 mss = min(mss, tcp_mssdflt);
4477 mss = min(mss, offer);
4485 tp->t_maxopd = mss;
4494 mss -= TCPOLEN_TSTAMP_APPA;
4495 tp->t_maxseg = mss;
4507 * number of mss units; if the mss is larger than
4508 * the socket buffer, decrease the mss.
4515 if (bufsize < mss)
4516 mss = bufsize;
4518 bufsize = (((bufsize + (u_int64_t)mss - 1) / (u_int64_t)mss) * (u_int64_t)mss);
4523 tp->t_maxseg = mss;
4530 if (bufsize > mss) {
4531 bufsize = (((bufsize + (u_int64_t)mss - 1) / (u_int64_t)mss) * (u_int64_t)mss);
4544 * threshold to no less than 2*mss.
4546 tp->snd_ssthresh = max(2 * mss, rt->rt_rmx.rmx_ssthresh);
4575 int mss;
4614 mss = (isipv6 ? tcp_maxmtu6(rt) : tcp_maxmtu(rt));
4616 mss = tcp_maxmtu(rt);
4620 return (mss - min_protoh);