Lines Matching refs:mss

1091 	const u32 mss = tp->mss_cache;  in tcp_check_sack_reordering()  local
1099 if ((metric > tp->reordering * mss) && mss) { in tcp_check_sack_reordering()
1108 tp->reordering = min_t(u32, (metric + mss - 1) / mss, in tcp_check_sack_reordering()
1348 unsigned int mss; in tcp_match_skb_to_sack() local
1355 mss = tcp_skb_mss(skb); in tcp_match_skb_to_sack()
1360 if (pkt_len < mss) in tcp_match_skb_to_sack()
1361 pkt_len = mss; in tcp_match_skb_to_sack()
1364 if (pkt_len < mss) in tcp_match_skb_to_sack()
1371 if (pkt_len > mss) { in tcp_match_skb_to_sack()
1372 unsigned int new_len = (pkt_len / mss) * mss; in tcp_match_skb_to_sack()
1374 new_len += mss; in tcp_match_skb_to_sack()
1382 pkt_len, mss, GFP_ATOMIC); in tcp_match_skb_to_sack()
1474 unsigned int pcount, int shifted, int mss, in tcp_shifted_skb() argument
1507 TCP_SKB_CB(prev)->tcp_gso_size = mss; in tcp_shifted_skb()
1585 int mss; in tcp_shift_skb_data() local
1617 mss = tcp_skb_seglen(skb); in tcp_shift_skb_data()
1622 if (mss != tcp_skb_seglen(prev)) in tcp_shift_skb_data()
1658 mss = tcp_skb_mss(skb); in tcp_shift_skb_data()
1663 if (mss != tcp_skb_seglen(prev)) in tcp_shift_skb_data()
1666 if (len == mss) { in tcp_shift_skb_data()
1668 } else if (len < mss) { in tcp_shift_skb_data()
1671 pcount = len / mss; in tcp_shift_skb_data()
1672 len = pcount * mss; in tcp_shift_skb_data()
1682 if (!tcp_shifted_skb(sk, prev, skb, state, pcount, len, mss, dup_sack)) in tcp_shift_skb_data()
1694 (mss != tcp_skb_seglen(skb))) in tcp_shift_skb_data()
1703 len, mss, 0); in tcp_shift_skb_data()
2761 int mss; in tcp_simple_retransmit() local
2774 mss = -1; in tcp_simple_retransmit()
2776 mss = tcp_current_mss(sk); in tcp_simple_retransmit()
2779 if (tcp_skb_seglen(skb) > mss) in tcp_simple_retransmit()
4035 u16 mss = 0; in tcp_parse_mss_option() local
4043 return mss; in tcp_parse_mss_option()
4049 return mss; in tcp_parse_mss_option()
4052 return mss; in tcp_parse_mss_option()
4054 return mss; /* fail on partial options */ in tcp_parse_mss_option()
4061 mss = in_mss; in tcp_parse_mss_option()
4068 return mss; in tcp_parse_mss_option()
6297 u16 mss = tp->rx_opt.mss_clamp, try_exp = 0; in tcp_rcv_fastopen_synack() local
6300 if (mss == tp->rx_opt.user_mss) { in tcp_rcv_fastopen_synack()
6307 mss = opt.mss_clamp; in tcp_rcv_fastopen_synack()
6328 tcp_fastopen_cache_set(sk, mss, cookie, syn_drop, try_exp); in tcp_rcv_fastopen_synack()
7012 req->mss = rx_opt->mss_clamp; in tcp_openreq_init()
7106 u16 mss; in tcp_get_syncookie_mss() local
7120 mss = tcp_parse_mss_option(th, tp->rx_opt.user_mss); in tcp_get_syncookie_mss()
7121 if (!mss) in tcp_get_syncookie_mss()
7122 mss = af_ops->mss_clamp; in tcp_get_syncookie_mss()
7124 return mss; in tcp_get_syncookie_mss()
7236 isn = cookie_init_sequence(af_ops, sk, skb, &req->mss); in tcp_conn_request()