Home
last modified time | relevance | path

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

/linux-6.3-rc2/include/net/
A Ddst.h170 u32 advmss = dst_metric_raw(dst, RTAX_ADVMSS); in dst_metric_advmss() local
172 if (!advmss) in dst_metric_advmss()
173 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss()
175 return advmss; in dst_metric_advmss()
A Dtcp.h1463 tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); in tcp_adjust_rcv_ssthresh()
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_cm.c971 tp->advmss = dst_metric_advmss(dst); in chtls_select_mss()
972 if (USER_MSS(tp) && tp->advmss > USER_MSS(tp)) in chtls_select_mss()
973 tp->advmss = USER_MSS(tp); in chtls_select_mss()
974 if (tp->advmss > pmtu - iphdrsz) in chtls_select_mss()
975 tp->advmss = pmtu - iphdrsz; in chtls_select_mss()
976 if (mss && tp->advmss > mss) in chtls_select_mss()
977 tp->advmss = mss; in chtls_select_mss()
979 tp->advmss = cxgb4_best_aligned_mtu(cdev->lldi->mtus, in chtls_select_mss()
981 tp->advmss - tcpoptsz, in chtls_select_mss()
983 tp->advmss -= iphdrsz; in chtls_select_mss()
/linux-6.3-rc2/net/ipv4/
A Dtcp_input.c241 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss()
515 incr = 2 * tp->advmss; in tcp_grow_window()
553 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space()
556 4 * tp->advmss); in tcp_init_buffer_space()
561 tp->window_clamp > 2 * tp->advmss && in tcp_init_buffer_space()
562 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
563 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space()
568 (u32)TCP_INIT_CWND * tp->advmss); in tcp_init_buffer_space()
747 do_div(rcvwin, tp->advmss); in tcp_rcv_space_adjust()
6280 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process()
[all …]
A Dtcp_output.c125 int mss = tp->advmss; in tcp_advertise_mss()
132 tp->advmss = mss; in tcp_advertise_mss()
3678 tp->advmss = tcp_mss_clamp(tp, dst_metric_advmss(dst)); in tcp_connect_init()
3692 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init()
3752 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
A Droute.c1316 unsigned int advmss = max_t(unsigned int, ipv4_mtu(dst) - header_size, in ipv4_default_advmss() local
1319 return min(advmss, IPV4_MAX_PMTU - header_size); in ipv4_default_advmss()
A Dtcp_ipv4.c1612 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v4_syn_recv_sock()
A Dtcp.c3912 info->tcpi_advmss = tp->advmss; in tcp_get_info()
/linux-6.3-rc2/drivers/scsi/cxgbi/cxgb4i/
A Dcxgb4i.c645 flowc->mnemval[7].val = htonl(csk->advmss); in send_tx_flowc_wr()
671 csk->advmss); in send_tx_flowc_wr()
945 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish()
947 csk->advmss -= 12; in do_act_establish()
948 if (csk->advmss < 128) in do_act_establish()
949 csk->advmss = 128; in do_act_establish()
953 csk, TCPOPT_MSS_G(tcp_opt), csk->advmss); in do_act_establish()
/linux-6.3-rc2/net/mptcp/
A Dprotocol.c1889 u32 time, advmss = 1; in mptcp_rcv_space_adjust() local
1915 sf_advmss = READ_ONCE(tp->advmss); in mptcp_rcv_space_adjust()
1918 advmss = max(sf_advmss, advmss); in mptcp_rcv_space_adjust()
1933 rcvwin = ((u64)msk->rcvq_space.copied << 1) + 16 * advmss; in mptcp_rcv_space_adjust()
1940 rcvmem = SKB_TRUESIZE(advmss + MAX_TCP_HEADER); in mptcp_rcv_space_adjust()
1941 while (tcp_win_from_space(sk, rcvmem) < advmss) in mptcp_rcv_space_adjust()
1944 do_div(rcvwin, advmss); in mptcp_rcv_space_adjust()
3115 TCP_INIT_CWND * tp->advmss); in mptcp_rcv_space_init()
/linux-6.3-rc2/include/linux/
A Dtcp.h254 u16 advmss; /* Advertised MSS */ member
/linux-6.3-rc2/drivers/scsi/cxgbi/
A Dlibcxgbi.c1103 csk->advmss = dst_metric_advmss(dst); in cxgbi_sock_select_mss()
1105 if (csk->advmss > pmtu - 40) in cxgbi_sock_select_mss()
1106 csk->advmss = pmtu - 40; in cxgbi_sock_select_mss()
1107 if (csk->advmss < csk->cdev->mtus[0] - 40) in cxgbi_sock_select_mss()
1108 csk->advmss = csk->cdev->mtus[0] - 40; in cxgbi_sock_select_mss()
1109 idx = cxgbi_sock_find_best_mtu(csk, csk->advmss + 40); in cxgbi_sock_select_mss()
1960 csk->advmss); in cxgbi_conn_alloc_pdu()
A Dlibcxgbi.h121 unsigned short advmss; member
/linux-6.3-rc2/net/ipv6/
A Dtcp_ipv6.c1355 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v6_syn_recv_sock()
/linux-6.3-rc2/Documentation/networking/
A Dsnmp_counter.rst1222 …ts sack cubic wscale:7,7 rto:204 rtt:0.98/0.49 mss:1448 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 b…

Completed in 100 milliseconds