Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c954 u16 user_mss; in chtls_select_mss() local
973 user_mss = USER_MSS(tp); in chtls_select_mss()
974 if (user_mss && tp->advmss > user_mss) in chtls_select_mss()
975 tp->advmss = user_mss; in chtls_select_mss()
/linux/net/ipv4/
H A Dtcp_input.c4487 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() argument
4515 if (user_mss && user_mss < in_mss) in tcp_parse_mss_option()
4516 in_mss = user_mss; in tcp_parse_mss_option()
4568 if (opt_rx->user_mss && in tcp_parse_options()
4569 opt_rx->user_mss < in_mss) in tcp_parse_options()
4570 in_mss = opt_rx->user_mss; in tcp_parse_options()
6792 if (mss == READ_ONCE(tp->rx_opt.user_mss)) { in tcp_rcv_fastopen_synack()
6797 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()
7632 mss = tcp_parse_mss_option(th, READ_ONCE(tp->rx_opt.user_mss)); in tcp_get_syncookie_mss()
7698 tmp_opt.user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_conn_request()
H A Dtcp.c3869 WRITE_ONCE(tcp_sk(sk)->rx_opt.user_mss, val); in tcp_sock_set_maxseg()
4516 int user_mss; in do_tcp_getsockopt() local
4530 user_mss = READ_ONCE(tp->rx_opt.user_mss); in do_tcp_getsockopt()
4531 if (user_mss && in do_tcp_getsockopt()
4533 val = user_mss; in do_tcp_getsockopt()
H A Dtcp_output.c2037 tp->rx_opt.user_mss is mss set by user by TCP_MAXSEG. It does NOT counts in tcp_current_mss()
2041 It is minimum of user_mss and mss received with SYN. in tcp_current_mss()
4109 u16 user_mss; in tcp_connect_init()
4122 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_connect_init()
4123 if (user_mss) in tcp_connect_init()
4124 tp->rx_opt.mss_clamp = user_mss; in tcp_connect_init()
4070 u16 user_mss; tcp_connect_init() local
/linux/include/net/
H A Dtcp.h527 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss);