Home | History | Annotate | Download | only in npf

Lines Matching defs:mss

79 	/* Minimum IP TTL and maximum TCP MSS. */
81 np->n_maxmss = dnvlist_get_number(params, "max-mss", 0);
148 uint16_t cksum, mss, maxmss = np->n_maxmss;
166 * TCP Maximum Segment Size (MSS) "clamping". Only if SYN packet.
167 * Fetch MSS and check whether rewrite to lower is needed.
174 mss = 0;
175 if (!npf_fetch_tcpopts(npc, &mss, &wscale)) {
178 if (ntohs(mss) <= maxmss) {
185 * Store new MSS, calculate TCP checksum and update it. The MSS may
199 cksum = npf_fixup16_cksum(th->th_sum, mss, maxmss);