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
161 mss = skb_shinfo(skb)->gso_size; in tcp_gso_segment()
162 if (unlikely(skb->len <= mss)) in tcp_gso_segment()
168 skb_shinfo(skb)->gso_segs = DIV_ROUND_UP(skb->len, mss); in tcp_gso_segment()
187 * the frame into an MSS multiple and possibly a remainder, both in tcp_gso_segment()
188 * cases return a GSO skb. So update the mss now. in tcp_gso_segment()
191 mss *= skb_shinfo(segs)->gso_segs; in tcp_gso_segment()
193 delta = (__force __wsum)htonl(oldlen + thlen + mss); in tcp_gso_segment()
200 tcp_gso_tstamp(segs, gso_skb, seq, mss); in tcp_gso_segment()
213 seq += mss; in tcp_gso_segment()
317 unsigned int mss = 1; in tcp_gro_receive() local
339 mss = skb_shinfo(p)->gso_size; in tcp_gro_receive()
341 /* If skb is a GRO packet, make sure its gso_size matches prior packet mss. in tcp_gro_receive()
343 * is bigger than our mss. in tcp_gro_receive()
346 flush |= (mss != skb_shinfo(skb)->gso_size); in tcp_gro_receive()
348 flush |= (len - 1) >= mss; in tcp_gro_receive()
360 mss = 1; in tcp_gro_receive()
366 mss = 1; in tcp_gro_receive()
373 /* Force a flush if last segment is smaller than mss. */ in tcp_gro_receive()
377 flush = len < mss; in tcp_gro_receive()