Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A Dtcp_input.c566 int maxwin; in tcp_init_buffer_space() local
575 maxwin = tcp_full_space(sk); in tcp_init_buffer_space()
577 if (tp->window_clamp >= maxwin) { in tcp_init_buffer_space()
578 WRITE_ONCE(tp->window_clamp, maxwin); in tcp_init_buffer_space()
580 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()
582 max(maxwin - (maxwin >> tcp_app_win), in tcp_init_buffer_space()
589 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
591 max(2 * tp->advmss, maxwin - tp->advmss)); in tcp_init_buffer_space()