Searched refs:user_mss (Results 1 – 8 of 8) sorted by relevance
98 u16 user_mss; /* mss requested by user in ioctl */ member509 u16 user_mss = READ_ONCE(tp->rx_opt.user_mss); in tcp_mss_clamp() local511 return (user_mss && user_mss < mss) ? user_mss : mss; in tcp_mss_clamp()
300 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() local757 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()
874 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()
952 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()
93 #define USER_MSS(tp) ((tp)->rx_opt.user_mss)
3958 static u16 tcp_parse_mss_option(const struct tcphdr *th, u16 user_mss) in tcp_parse_mss_option() argument3986 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()
3672 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()
3224 tp->rx_opt.user_mss = val; in do_tcp_setsockopt()3709 val = tp->rx_opt.user_mss; in do_tcp_getsockopt()