Searched refs:user_mss (Results 1 – 6 of 6) sorted by relevance
128 u16 user_mss; /* mss requested by user in ioctl */ member549 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp() local551 return (user_mss && user_mss < mss) ? user_mss : mss; in tcp_mss_clamp()
93 #define USER_MSS(tp) ((tp)->rx_opt.user_mss)
4014 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() argument4042 if (user_mss && user_mss < in_mss) in tcp_parse_mss_option()4043 in_mss = user_mss; in tcp_parse_mss_option()4095 if (opt_rx->user_mss && in tcp_parse_options()4096 opt_rx->user_mss < in_mss) in tcp_parse_options()4097 in_mss = opt_rx->user_mss; in tcp_parse_options()6137 if (mss == tp->rx_opt.user_mss) { in tcp_rcv_fastopen_synack()6142 opt.user_mss = opt.mss_clamp = 0; in tcp_rcv_fastopen_synack()6951 mss = tcp_parse_mss_option(th, tp->rx_opt.user_mss); in tcp_get_syncookie_mss()7005 tmp_opt.user_mss = tp->rx_opt.user_mss; in tcp_conn_request()
3497 tp->rx_opt.user_mss = val; in do_tcp_setsockopt()3950 if (tp->rx_opt.user_mss && in do_tcp_getsockopt()3952 val = tp->rx_opt.user_mss; in do_tcp_getsockopt()
3773 if (tp->rx_opt.user_mss) in tcp_connect_init()3774 tp->rx_opt.mss_clamp = tp->rx_opt.user_mss; in tcp_connect_init()
441 u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss);