Home
last modified time | relevance | path

Searched refs:user_mss (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dtcp.h98 u16 user_mss; /* mss requested by user in ioctl */ member
509 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp() local
511 return (user_mss && user_mss < mss) ? user_mss : mss; in tcp_mss_clamp()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_output.c300 if (tp->rx_opt.user_mss) in tcp_nip_connect_init()
301 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_nip_connect_init()
750 u16 user_mss; in get_nip_mss() local
757 user_mss = READ_ONCE(tp->rx_opt.user_mss); in get_nip_mss()
758 if (user_mss && user_mss < mss) in get_nip_mss()
759 mss = user_mss; in get_nip_mss()
Dtcp_nip_input.c874 if (opt_rx->user_mss && in tcp_nip_parse_mss()
875 opt_rx->user_mss < in_mss) in tcp_nip_parse_mss()
876 in_mss = opt_rx->user_mss; in tcp_nip_parse_mss()
1189 tmp_opt.user_mss = tp->rx_opt.user_mss; in _tcp_nip_conn_request()
Dtcp_nip.c952 if (tcp_sk(sk)->rx_opt.user_mss && in tcp_nip_syn_recv_sock()
953 tcp_sk(sk)->rx_opt.user_mss < newtp->advmss) in tcp_nip_syn_recv_sock()
954 newtp->advmss = tcp_sk(sk)->rx_opt.user_mss; in tcp_nip_syn_recv_sock()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h93 #define USER_MSS(tp) ((tp)->rx_opt.user_mss)
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_input.c3958 static u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() argument
3986 if (user_mss && user_mss < in_mss) in tcp_parse_mss_option()
3987 in_mss = user_mss; in tcp_parse_mss_option()
4038 if (opt_rx->user_mss && in tcp_parse_options()
4039 opt_rx->user_mss < in_mss) in tcp_parse_options()
4040 in_mss = opt_rx->user_mss; in tcp_parse_options()
6017 if (mss == tp->rx_opt.user_mss) { in tcp_rcv_fastopen_synack()
6022 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()
6804 mss = tcp_parse_mss_option(th, tp->rx_opt.user_mss); in tcp_get_syncookie_mss()
6858 tmp_opt.user_mss = tp->rx_opt.user_mss; in tcp_conn_request()
Dtcp_output.c3672 if (tp->rx_opt.user_mss) in tcp_connect_init()
3673 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_connect_init()
Dtcp.c3224 tp->rx_opt.user_mss = val; in do_tcp_setsockopt()
3709 val = tp->rx_opt.user_mss; in do_tcp_getsockopt()