Lines Matching full:mss
17 unsigned int seq, unsigned int mss) in tcp_gso_tstamp() argument
23 if (before(ts_seq, seq + mss)) { in tcp_gso_tstamp()
30 seq += mss; in tcp_gso_tstamp()
141 unsigned int mss; in tcp_gso_segment() local
162 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
163 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
169 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
188 * the frame into an MSS multiple and possibly a remainder, both in tcp_gso_segment()
189 * cases return a GSO skb. So update the mss now. in tcp_gso_segment()
192 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
194 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()
201 tcp_gso_tstamp(segs, gso_skb, seq, mss); in tcp_gso_segment()
216 seq += mss; in tcp_gso_segment()
321 unsigned int mss = 1; in tcp_gro_receive() local
343 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive()
345 /* If skb is a GRO packet, make sure its gso_size matches prior packet mss. in tcp_gro_receive()
347 * is bigger than our mss. in tcp_gro_receive()
350 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive()
352 flush |= (len - 1) >= mss; in tcp_gro_receive()
364 mss = 1; in tcp_gro_receive()
370 mss = 1; in tcp_gro_receive()
377 /* Force a flush if last segment is smaller than mss. */ in tcp_gro_receive()
381 flush = len < mss; in tcp_gro_receive()