Lines Matching defs:mss
1500 u_int16_t mss;
1527 memcpy((char *) &mss, (char *) cp + 2, sizeof(mss));
1528 NTOHS(mss);
1529 (void) tcp_mss(tp, mss); /* sets t_maxseg */
1683 * If none, use an mss that can be handled on the outgoing
1700 int mss;
1706 mss = min(IF_MTU, IF_MRU) - sizeof(struct tcpiphdr);
1708 mss = min(mss, offer);
1709 mss = max(mss, 32);
1710 if (mss < tp->t_maxseg || offer != 0)
1711 tp->t_maxseg = mss;
1713 tp->snd_cwnd = mss;
1715 sbreserve(&so->so_snd, TCP_SNDSPACE + ((TCP_SNDSPACE % mss) ?
1716 (mss - (TCP_SNDSPACE % mss)) :
1718 sbreserve(&so->so_rcv, TCP_RCVSPACE + ((TCP_RCVSPACE % mss) ?
1719 (mss - (TCP_RCVSPACE % mss)) :
1722 DEBUG_MISC((dfd, " returning mss = %d\n", mss));
1724 return mss;