Lines Matching full:mss
17 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument
20 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp()
27 seq += mss; in tcp_gso_tstamp()
138 unsigned int mss; in tcp_gso_segment() local
158 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
159 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
165 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
184 * the frame into an MSS multiple and possibly a remainder, both in tcp_gso_segment()
185 * cases return a GSO skb. So update the mss now. in tcp_gso_segment()
188 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
190 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()
197 tcp_gso_tstamp(segs, skb_shinfo(gso_skb)->tskey, seq, mss); in tcp_gso_segment()
210 seq += mss; in tcp_gso_segment()
314 unsigned int mss = 1; in tcp_gro_receive() local
336 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive()
338 /* If skb is a GRO packet, make sure its gso_size matches prior packet mss. in tcp_gro_receive()
340 * is bigger than our mss. in tcp_gro_receive()
343 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive()
345 flush |= (len - 1) >= mss; in tcp_gro_receive()
357 mss = 1; in tcp_gro_receive()
363 mss = 1; in tcp_gro_receive()
370 /* Force a flush if last segment is smaller than mss. */ in tcp_gro_receive()
374 flush = len < mss; in tcp_gro_receive()