Home
last modified time | relevance | path

Searched refs:mss_clamp (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
H A Dtcp_nip_input.c877 opt_rx->mss_clamp = in_mss; in tcp_nip_parse_mss()
964 req->mss = rx_opt->mss_clamp; in tcp_nip_openreq_init()
1088 newtp->rx_opt.mss_clamp = req->mss; in tcp_nip_create_openreq_child()
1187 tmp_opt.mss_clamp = af_ops->mss_clamp; in _tcp_nip_conn_request()
1895 int saved_clamp = tp->rx_opt.mss_clamp; in tcp_nip_rcv_synsent_state_process()
1983 tp->rx_opt.mss_clamp = saved_clamp; in tcp_nip_rcv_synsent_state_process()
1988 tp->rx_opt.mss_clamp = saved_clamp; in tcp_nip_rcv_synsent_state_process()
H A Dtcp_nip_output.c101 /* Clamp it (mss_clamp does not include tcp options) */ in __tcp_nip_mtu_to_mss()
102 if (mss_now > tp->rx_opt.mss_clamp) in __tcp_nip_mtu_to_mss()
103 mss_now = tp->rx_opt.mss_clamp; in __tcp_nip_mtu_to_mss()
301 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_nip_connect_init()
305 tp->rx_opt.mss_clamp = tcp_nip_sync_mss(sk, dst_mtu(dst)); in tcp_nip_connect_init()
H A Dtcp_nip.c850 .mss_clamp = TCP_BASE_MSS,
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_output.c1713 /* Clamp it (mss_clamp does not include tcp options) */ in __tcp_mtu_to_mss()
1714 if (mss_now > tp->rx_opt.mss_clamp) in __tcp_mtu_to_mss()
1715 mss_now = tp->rx_opt.mss_clamp; in __tcp_mtu_to_mss()
1766 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + in tcp_mtup_init()
1780 tp->rx_opt.mss_clamp is mss negotiated at connection setup.
1789 tp->rx_opt.mss_clamp.
2291 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + in tcp_mtu_check_reprobe()
2353 * and current mss_clamp. if (search_high - search_low) in tcp_mtu_probe()
2957 /* MSS for the peer's data. Previous versions used mss_clamp in __tcp_select_window()
3695 tp->rx_opt.mss_clamp in tcp_connect_init()
[all...]
H A Dtcp_input.c424 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
4067 opt_rx->mss_clamp = in_mss; in tcp_parse_options()
6043 u16 mss = tp->rx_opt.mss_clamp, try_exp = 0; in tcp_rcv_fastopen_synack()
6049 /* Get original SYNACK MSS value if user MSS sets mss_clamp */ in tcp_rcv_fastopen_synack()
6051 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()
6053 mss = opt.mss_clamp; in tcp_rcv_fastopen_synack()
6134 int saved_clamp = tp->rx_opt.mss_clamp; in tcp_rcv_synsent_state_process()
6351 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6356 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6713 req->mss = rx_opt->mss_clamp; in tcp_openreq_init()
[all...]
H A Dtcp_minisocks.c546 newtp->rx_opt.mss_clamp = req->mss; in tcp_create_openreq_child()
H A Dtcp_ipv4.c275 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()
1495 .mss_clamp = TCP_MSS_DEFAULT,
H A Dtcp.c2995 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est()
3794 val = tp->rx_opt.mss_clamp; in do_tcp_getsockopt()
/kernel/linux/linux-6.6/net/ipv4/
H A Dtcp_output.c1714 /* Clamp it (mss_clamp does not include tcp options) */ in __tcp_mtu_to_mss()
1715 if (mss_now > tp->rx_opt.mss_clamp) in __tcp_mtu_to_mss()
1716 mss_now = tp->rx_opt.mss_clamp; in __tcp_mtu_to_mss()
1767 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + sizeof(struct tcphdr) + in tcp_mtup_init()
1781 tp->rx_opt.mss_clamp is mss negotiated at connection setup.
1790 tp->rx_opt.mss_clamp.
2296 icsk->icsk_mtup.search_high = tp->rx_opt.mss_clamp + in tcp_mtu_check_reprobe()
2411 * and current mss_clamp. if (search_high - search_low) in tcp_mtu_probe()
3021 /* MSS for the peer's data. Previous versions used mss_clamp in __tcp_select_window()
3780 tp->rx_opt.mss_clamp in tcp_connect_init()
[all...]
H A Dtcp_input.c432 per_mss = max_t(u32, tp->rx_opt.mss_clamp, tp->mss_cache) + in tcp_sndbuf_expand()
4102 opt_rx->mss_clamp = in_mss; in tcp_parse_options()
6138 u16 mss = tp->rx_opt.mss_clamp, try_exp = 0; in tcp_rcv_fastopen_synack()
6144 /* Get original SYNACK MSS value if user MSS sets mss_clamp */ in tcp_rcv_fastopen_synack()
6146 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()
6148 mss = opt.mss_clamp; in tcp_rcv_fastopen_synack()
6227 int saved_clamp = tp->rx_opt.mss_clamp; in tcp_rcv_synsent_state_process()
6445 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6451 tp->rx_opt.mss_clamp = saved_clamp; in tcp_rcv_synsent_state_process()
6823 req->mss = rx_opt->mss_clamp; in tcp_openreq_init()
[all...]
H A Dtcp_minisocks.c571 newtp->rx_opt.mss_clamp = req->mss; in tcp_create_openreq_child()
H A Dtcp_ipv4.c278 tp->rx_opt.mss_clamp = TCP_MSS_DEFAULT; in tcp_v4_connect()
1522 .mss_clamp = TCP_MSS_DEFAULT,
H A Dtcp.c3166 tp->rx_opt.mss_clamp = opt.opt_val; in tcp_repair_options_est()
3982 val = tp->rx_opt.mss_clamp; in do_tcp_getsockopt()
/kernel/linux/linux-5.10/include/linux/
H A Dtcp.h99 u16 mss_clamp; /* Maximal mss, negotiated at connection setup */ member
/kernel/linux/linux-6.6/include/linux/
H A Dtcp.h129 u16 mss_clamp; /* Maximal mss, negotiated at connection setup */ member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
869 .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) -
/kernel/linux/linux-6.6/net/ipv6/
H A Dtcp_ipv6.c311 tp->rx_opt.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect()
830 .mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) -
/kernel/linux/linux-5.10/include/net/
H A Dtcp.h2050 u16 mss_clamp; member
/kernel/linux/linux-6.6/include/net/
H A Dtcp.h2133 u16 mss_clamp; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A Dcm.c3986 req->tcpopt.mss = htons(tmp_opt.mss_clamp); in build_cpl_pass_accept_req()
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A Dcm.c3983 req->tcpopt.mss = htons(tmp_opt.mss_clamp); in build_cpl_pass_accept_req()
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c7733 const u16 mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - in BPF_CALL_3() local
7741 mss = tcp_parse_mss_option(th, 0) ?: mss_clamp; in BPF_CALL_3()

Completed in 95 milliseconds