Lines Matching defs:mss
2153 u_int16_t mss = 0;
2185 memcpy(&mss, cp + 2, sizeof(mss));
2186 mss = ntohs(mss);
2187 oi->maxseg = mss;
2797 * If none, use an mss that can be handled on the outgoing
2823 int mss, mssopt, mssdflt, iphlen, do_rfc3390;
2826 mss = mssopt = mssdflt = atomic_load_int(&tcp_mssdflt);
2865 mss = IPV6_MMTU - iphlen - sizeof(struct ip6_frag) -
2868 mss = rtmtu - iphlen - sizeof(struct tcphdr);
2871 mss = ifp->if_mtu - iphlen - sizeof(struct tcphdr);
2874 mss = ifp->if_mtu - iphlen - sizeof(struct tcphdr);
2882 mss = ifp->if_mtu - iphlen - sizeof(struct tcphdr);
2894 * The current mss, t_maxseg, is initialized to the default value.
2895 * If we compute a smaller value, reduce the current mss.
2906 mss = imin(mss, max(tp->t_peermss, 216));
2909 mss = imax(mss, 64);
2918 tp->t_maxopd = mss;
2922 mss -= TCPOLEN_TSTAMP_APPA;
2925 mss -= TCPOLEN_SIGLEN;
2930 /* mss changed due to Path MTU discovery */
2934 if (mss < tp->t_maxseg) {
2941 mss, mss);
2945 tp->snd_cwnd = ulmin(10 * mss, ulmax(2 * mss, 14600));
2948 tp->snd_cwnd = ulmin(4 * mss, ulmax(2 * mss, 4380));
2950 tp->snd_cwnd = mss;
2952 tp->t_maxseg = mss;
2954 return (offer != -1 ? mssopt : mss);
3000 int mss;
3006 mss = tp->t_maxseg;
3014 if (bufsize < mss) {
3016 mss = bufsize;
3018 tcp_mss(tp, mss);
3020 bufsize = roundup(bufsize, mss);
3029 if (bufsize > mss) {
3030 bufsize = roundup(bufsize, mss);
3083 int iphlen, mss, mssdflt;
3106 mss = ifp->if_mtu - iphlen - sizeof(struct tcphdr);
3109 if (mss < mssdflt)
3111 return mss;