Searched refs:mss_clamp (Results 1 – 11 of 11) sorted by relevance
1762 if (mss_now > tp->rx_opt.mss_clamp) in __tcp_mtu_to_mss()1763 mss_now = tp->rx_opt.mss_clamp; in __tcp_mtu_to_mss()1804 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + in tcp_mtup_init()2326 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + in tcp_mtu_check_reprobe()3893 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_connect_init()3977 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()3978 if (!tcp_fastopen_cookie_check(sk, &tp->rx_opt.mss_clamp, &fo->cookie)) in tcp_send_syn_data()3985 tp->rx_opt.mss_clamp = tcp_mss_clamp(tp, tp->rx_opt.mss_clamp); in tcp_send_syn_data()
431 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()4222 opt_rx->mss_clamp = in_mss; in tcp_parse_options()6345 u16 mss = tp->rx_opt.mss_clamp, try_exp = 0; in tcp_rcv_fastopen_synack()6353 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()6355 mss = opt.mss_clamp; in tcp_rcv_fastopen_synack()6434 int saved_clamp = tp->rx_opt.mss_clamp; in tcp_rcv_synsent_state_process()6665 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()6671 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()7061 req->mss = rx_opt->mss_clamp; in tcp_openreq_init()7171 mss = af_ops->mss_clamp; in tcp_get_syncookie_mss()[all …]
621 newtp->rx_opt.mss_clamp = req->mss; in tcp_create_openreq_child()
295 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()1700 .mss_clamp = TCP_MSS_DEFAULT,
3460 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est()4320 val = tp->rx_opt.mss_clamp; in do_tcp_getsockopt()
129 u16 mss_clamp; /* Maximal mss, negotiated at connection setup */ member
152 tp->rx_opt.mss_clamp = cdev->mtus[TCPOPT_MSS_G(opt)] - 40; in assign_rxopt()153 tp->mss_cache = tp->rx_opt.mss_clamp; in assign_rxopt()162 tp->rx_opt.mss_clamp -= TCPOLEN_TSTAMP_ALIGNED; in assign_rxopt()
306 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()842 .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) -
2266 u16 mss_clamp; member
3987 req->tcpopt.mss = htons(tmp_opt.mss_clamp); in build_cpl_pass_accept_req()
7823 const u16 mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - in BPF_CALL_3() local7831 mss = tcp_parse_mss_option(th, 0) ?: mss_clamp; in BPF_CALL_3()