Home
last modified time | relevance | path

Searched refs:mss_clamp (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/net/ipv4/
H A Dtcp_output.c1722 if (mss_now > tp->rx_opt.mss_clamp) in __tcp_mtu_to_mss()
1723 mss_now = tp->rx_opt.mss_clamp; in __tcp_mtu_to_mss()
1774 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + in tcp_mtup_init()
2303 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + in tcp_mtu_check_reprobe()
3787 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_connect_init()
3871 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
3872 if (!tcp_fastopen_cookie_check(sk, &tp->rx_opt.mss_clamp, &fo->cookie)) in tcp_send_syn_data()
3879 tp->rx_opt.mss_clamp = tcp_mss_clamp(tp, tp->rx_opt.mss_clamp); in tcp_send_syn_data()
H A Dtcp_input.c443 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
4182 opt_rx->mss_clamp = in_mss; in tcp_parse_options()
6234 u16 mss = tp->rx_opt.mss_clamp, try_exp = 0; in tcp_rcv_fastopen_synack()
6242 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()
6244 mss = opt.mss_clamp; in tcp_rcv_fastopen_synack()
6323 int saved_clamp = tp->rx_opt.mss_clamp; in tcp_rcv_synsent_state_process()
6542 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6548 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6930 req->mss = rx_opt->mss_clamp; in tcp_openreq_init()
7065 mss = af_ops->mss_clamp; in tcp_get_syncookie_mss()
[all …]
H A Dtcp_minisocks.c574 newtp->rx_opt.mss_clamp = req->mss; in tcp_create_openreq_child()
H A Dtcp_ipv4.c289 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()
1528 .mss_clamp = TCP_MSS_DEFAULT,
H A Dtcp.c3194 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est()
4019 val = tp->rx_opt.mss_clamp; in do_tcp_getsockopt()
/openbmc/linux/include/linux/
H A Dtcp.h129 u16 mss_clamp; /* Maximal mss, negotiated at connection setup */ member
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c152 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()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c309 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
824 .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) -
/openbmc/linux/include/net/
H A Dtcp.h2152 u16 mss_clamp; member
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c3987 req->tcpopt.mss = htons(tmp_opt.mss_clamp); in build_cpl_pass_accept_req()
/openbmc/linux/net/core/
H A Dfilter.c7784 const u16 mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - in BPF_CALL_3() local
7792 mss = tcp_parse_mss_option(th, 0) ?: mss_clamp; in BPF_CALL_3()