Lines Matching refs:rcv_wnd
209 __u32 *rcv_wnd, __u32 *window_clamp, in tcp_select_initial_window() argument
233 (*rcv_wnd) = min(space, MAX_TCP_WINDOW); in tcp_select_initial_window()
235 (*rcv_wnd) = min_t(u32, space, U16_MAX); in tcp_select_initial_window()
238 *rcv_wnd = min(*rcv_wnd, init_rcv_wnd * mss); in tcp_select_initial_window()
262 u32 old_win = tp->rcv_wnd; in tcp_select_window()
280 tp->rcv_wnd = new_win; in tcp_select_window()
1354 th->window = htons(min(tp->rcv_wnd, 65535U)); in __tcp_transmit_skb()
2995 window = tp->rcv_wnd; in __tcp_select_window()
3629 u32 rcv_wnd; in tcp_connect_init() local
3663 rcv_wnd = tcp_rwnd_init_bpf(sk); in tcp_connect_init()
3664 if (rcv_wnd == 0) in tcp_connect_init()
3665 rcv_wnd = dst_metric(dst, RTAX_INITRWND); in tcp_connect_init()
3669 &tp->rcv_wnd, in tcp_connect_init()
3673 rcv_wnd); in tcp_connect_init()
3676 tp->rcv_ssthresh = tp->rcv_wnd; in tcp_connect_init()