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()
65 unsigned int mss; in tcp_gso_segment() local
82 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
83 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
89 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
108 * the frame into an MSS multiple and possibly a remainder, both in tcp_gso_segment()
109 * cases return a GSO skb. So update the mss now. in tcp_gso_segment()
112 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
114 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()
121 tcp_gso_tstamp(segs, skb_shinfo(gso_skb)->tskey, seq, mss); in tcp_gso_segment()
134 seq += mss; in tcp_gso_segment()
190 unsigned int mss = 1; in tcp_gro_receive() local
256 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive()
258 /* If skb is a GRO packet, make sure its gso_size matches prior packet mss. in tcp_gro_receive()
260 * is bigger than our mss. in tcp_gro_receive()
263 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive()
265 flush |= (len - 1) >= mss; in tcp_gro_receive()
273 mss = 1; in tcp_gro_receive()
280 /* Force a flush if last segment is smaller than mss. */ in tcp_gro_receive()
284 flush = len < mss; in tcp_gro_receive()