Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_input.c544 int maxwin; in tcp_init_buffer_space() local
553 maxwin = tcp_full_space(sk); in tcp_init_buffer_space()
555 if (tp->window_clamp >= maxwin) { in tcp_init_buffer_space()
556 tp->window_clamp = maxwin; in tcp_init_buffer_space()
558 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()
559 tp->window_clamp = max(maxwin - in tcp_init_buffer_space()
560 (maxwin >> tcp_app_win), in tcp_init_buffer_space()
567 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
568 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space()