Lines Matching refs:advmss
170 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss()
416 incr = 2 * tp->advmss; in tcp_grow_window()
432 u32 mss = tcp_sk(sk)->advmss; in tcp_fixup_rcvbuf()
472 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()
475 4 * tp->advmss); in tcp_init_buffer_space()
480 tp->window_clamp > 2 * tp->advmss && in tcp_init_buffer_space()
481 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
482 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space()
505 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window()
518 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()
649 rcvwin = ((u64)copied << 1) + 16 * tp->advmss; in tcp_rcv_space_adjust()
656 rcvmem = SKB_TRUESIZE(tp->advmss + MAX_TCP_HEADER); in tcp_rcv_space_adjust()
657 while (tcp_win_from_space(sk, rcvmem) < tp->advmss) in tcp_rcv_space_adjust()
660 do_div(rcvwin, tp->advmss); in tcp_rcv_space_adjust()
5065 tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); in tcp_prune_queue()
5845 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process()
6112 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_state_process()