Lines Matching defs:mss
611 uint32_t mss;
740 mss = tcp->tcp_initial_pmtu = uinfo.iulp_mtu;
751 mss -= tcp->tcp_ipsec_overhead;
753 if (mss < tcps->tcps_mss_min)
754 mss = tcps->tcps_mss_min;
755 if (mss > mss_max)
756 mss = mss_max;
759 tcp->tcp_mss = mss;
2464 int32_t mss;
2487 mss = pmtu - connp->conn_ht_iphc_len - conn_ipsec_length(connp);
2492 if (mss == tcp->tcp_mss)
2498 if (mss > tcp->tcp_mss && decrease_only)
2501 DTRACE_PROBE2(tcp_update_pmtu, int32_t, tcp->tcp_mss, uint32_t, mss);
2511 tcp_mss_set(tcp, mss);
2523 if (mss < tcp->tcp_tcps->tcps_mss_min)
2541 int32_t mss = tcp->tcp_mss;
2545 return (mss);
2548 mss = INFPSZ;
2557 maxpsz = MSS_ROUNDUP(connp->conn_sndbuf, mss);
2558 mss = INFPSZ;
2562 * (and a multiple of the mss). This instructs the stream
2566 maxpsz = tcp->tcp_maxpsz_multiplier * mss;
2569 /* Round up to nearest mss */
2570 maxpsz = MSS_ROUNDUP(maxpsz, mss);
2578 (void) proto_set_tx_maxblk(q, connp, mss);
2579 return (mss);
2949 * XXX - Should allow a lower rwnd than tcp_recv_hiwat_minmss * mss if the
2955 uint32_t mss = tcp->tcp_mss;
2968 rwnd = MAX(rwnd, tcps->tcps_recv_hiwat_minmss * mss);
3014 rwnd = MSS_ROUNDUP(old_max_rwnd, mss);
3024 (max_transmittable_rwnd % mss);
3025 if (rwnd < mss)
3036 MIN(tcps->tcps_local_dacks_max, rwnd / mss / 2);
3044 MIN(tcps->tcps_deferred_acks_max, rwnd / mss / 2);
4089 uint32_t mss;
4219 mss = tcp->tcp_mss - connp->conn_ht_iphc_len;
4229 tcp->tcp_rwnd = MAX(MSS_ROUNDUP(tcp->tcp_rwnd, mss),
4230 tcps->tcps_recv_hiwat_minmss * mss);