Lines Matching refs:advmss
241 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss()
512 incr = 2 * tp->advmss; in tcp_grow_window()
545 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()
548 4 * tp->advmss); in tcp_init_buffer_space()
553 tp->window_clamp > 2 * tp->advmss && in tcp_init_buffer_space()
554 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
555 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space()
560 (u32)TCP_INIT_CWND * tp->advmss); in tcp_init_buffer_space()
582 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window()
595 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()
728 rcvwin = ((u64)copied << 1) + 16 * tp->advmss; in tcp_rcv_space_adjust()
735 rcvmem = SKB_TRUESIZE(tp->advmss + MAX_TCP_HEADER); in tcp_rcv_space_adjust()
736 while (tcp_win_from_space(sk, rcvmem) < tp->advmss) in tcp_rcv_space_adjust()
739 do_div(rcvwin, tp->advmss); in tcp_rcv_space_adjust()
5348 tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); in tcp_prune_queue()
6197 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process()
6487 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_state_process()