Searched refs:advmss (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/include/net/ |
D | dst.h | 170 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()
|
D | tcp.h | 1463 tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); in tcp_adjust_rcv_ssthresh()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 971 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.1.9/net/ipv4/ |
D | tcp_input.c | 241 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() 590 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window() 603 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_initialize_rcv_mss() [all …]
|
D | tcp_output.c | 125 int mss = tp->advmss; in tcp_advertise_mss() 132 tp->advmss = mss; in tcp_advertise_mss() 3681 tp->advmss = tcp_mss_clamp(tp, dst_metric_advmss(dst)); in tcp_connect_init() 3695 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init() 3755 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
|
D | route.c | 1316 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()
|
D | tcp_ipv4.c | 1555 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v4_syn_recv_sock()
|
D | tcp.c | 3910 info->tcpi_advmss = tp->advmss; in tcp_get_info()
|
/linux-6.1.9/drivers/scsi/cxgbi/cxgb4i/ |
D | cxgb4i.c | 645 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.1.9/net/mptcp/ |
D | protocol.c | 1904 u32 time, advmss = 1; in mptcp_rcv_space_adjust() local 1930 sf_advmss = READ_ONCE(tp->advmss); in mptcp_rcv_space_adjust() 1933 advmss = max(sf_advmss, advmss); in mptcp_rcv_space_adjust() 1948 rcvwin = ((u64)msk->rcvq_space.copied << 1) + 16 * advmss; in mptcp_rcv_space_adjust() 1955 rcvmem = SKB_TRUESIZE(advmss + MAX_TCP_HEADER); in mptcp_rcv_space_adjust() 1956 while (tcp_win_from_space(sk, rcvmem) < advmss) in mptcp_rcv_space_adjust() 1959 do_div(rcvwin, advmss); in mptcp_rcv_space_adjust() 3121 TCP_INIT_CWND * tp->advmss); in mptcp_rcv_space_init()
|
/linux-6.1.9/include/linux/ |
D | tcp.h | 254 u16 advmss; /* Advertised MSS */ member
|
/linux-6.1.9/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1103 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()
|
D | libcxgbi.h | 122 unsigned short advmss; member
|
/linux-6.1.9/net/ipv6/ |
D | tcp_ipv6.c | 1355 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v6_syn_recv_sock()
|
/linux-6.1.9/Documentation/networking/ |
D | snmp_counter.rst | 1222 …ts sack cubic wscale:7,7 rto:204 rtt:0.98/0.49 mss:1448 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 b…
|