Searched refs:advmss (Results 1 – 6 of 6) sorted by relevance
368 incr = 2 * tp->advmss; in tcp_grow_window()384 u32 mss = tcp_sk(sk)->advmss; in tcp_fixup_rcvbuf()422 if (sysctl_tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()425 4 * tp->advmss); in tcp_init_buffer_space()430 tp->window_clamp > 2 * tp->advmss && in tcp_init_buffer_space()431 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()432 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space()454 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window()467 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss()582 rcvwin = (copied << 1) + 16 * tp->advmss; in tcp_rcv_space_adjust()[all …]
128 int mss = tp->advmss; in tcp_advertise_mss()135 tp->advmss = mss; in tcp_advertise_mss()2312 4U * tp->advmss); in __tcp_select_window()2966 tp->advmss = dst_metric_advmss(dst); in tcp_connect_init()2967 if (tp->rx_opt.user_mss && tp->rx_opt.user_mss < tp->advmss) in tcp_connect_init()2968 tp->advmss = tp->rx_opt.user_mss; in tcp_connect_init()2978 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()3038 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
1225 unsigned int advmss = dst_metric_raw(dst, RTAX_ADVMSS); in ipv4_default_advmss() local1227 if (advmss == 0) { in ipv4_default_advmss()1228 advmss = max_t(unsigned int, dst->dev->mtu - 40, in ipv4_default_advmss()1230 if (advmss > 65535 - 40) in ipv4_default_advmss()1231 advmss = 65535 - 40; in ipv4_default_advmss()1233 return advmss; in ipv4_default_advmss()
1354 newtp->advmss = dst_metric_advmss(dst); in tcp_v4_syn_recv_sock()1356 tcp_sk(sk)->rx_opt.user_mss < newtp->advmss) in tcp_v4_syn_recv_sock()1357 newtp->advmss = tcp_sk(sk)->rx_opt.user_mss; in tcp_v4_syn_recv_sock()
2730 info->tcpi_advmss = tp->advmss; in tcp_get_info()
1233 newtp->advmss = dst_metric_advmss(dst); in tcp_v6_syn_recv_sock()1235 tcp_sk(sk)->rx_opt.user_mss < newtp->advmss) in tcp_v6_syn_recv_sock()1236 newtp->advmss = tcp_sk(sk)->rx_opt.user_mss; in tcp_v6_syn_recv_sock()