Searched refs:advmss (Results 1 – 15 of 15) sorted by relevance
/linux/include/net/ |
A D | dst.h | 169 u32 advmss = dst_metric_raw(dst, RTAX_ADVMSS); in dst_metric_advmss() local 171 if (!advmss) in dst_metric_advmss() 172 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss() 174 return advmss; in dst_metric_advmss()
|
A D | tcp.h | 1431 tp->rcv_ssthresh = min(tp->rcv_ssthresh, 4U * tp->advmss); in tcp_adjust_rcv_ssthresh()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
A 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/net/ipv4/ |
A 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() 746 do_div(rcvwin, tp->advmss); in tcp_rcv_space_adjust() 6203 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_rcv_synsent_state_process() [all …]
|
A D | tcp_output.c | 124 int mss = tp->advmss; in tcp_advertise_mss() 131 tp->advmss = mss; in tcp_advertise_mss() 3654 tp->advmss = tcp_mss_clamp(tp, dst_metric_advmss(dst)); in tcp_connect_init() 3668 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init() 3727 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
|
A D | route.c | 1301 unsigned int advmss = max_t(unsigned int, ipv4_mtu(dst) - header_size, in ipv4_default_advmss() local 1304 return min(advmss, IPV4_MAX_PMTU - header_size); in ipv4_default_advmss()
|
A D | tcp_ipv4.c | 1605 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v4_syn_recv_sock()
|
A D | tcp.c | 3763 info->tcpi_advmss = tp->advmss; in tcp_get_info()
|
/linux/net/mptcp/ |
A D | protocol.c | 1815 u32 time, advmss = 1; in mptcp_rcv_space_adjust() local 1841 sf_advmss = READ_ONCE(tp->advmss); in mptcp_rcv_space_adjust() 1844 advmss = max(sf_advmss, advmss); in mptcp_rcv_space_adjust() 1859 rcvwin = ((u64)msk->rcvq_space.copied << 1) + 16 * advmss; in mptcp_rcv_space_adjust() 1866 rcvmem = SKB_TRUESIZE(advmss + MAX_TCP_HEADER); in mptcp_rcv_space_adjust() 1867 while (tcp_win_from_space(sk, rcvmem) < advmss) in mptcp_rcv_space_adjust() 1870 do_div(rcvwin, advmss); in mptcp_rcv_space_adjust() 2844 TCP_INIT_CWND * tp->advmss); in mptcp_rcv_space_init()
|
/linux/drivers/scsi/cxgbi/cxgb4i/ |
A D | cxgb4i.c | 644 flowc->mnemval[7].val = htonl(csk->advmss); in send_tx_flowc_wr() 670 csk->advmss); in send_tx_flowc_wr() 944 csk->advmss = lldi->mtus[TCPOPT_MSS_G(tcp_opt)] - 40; in do_act_establish() 946 csk->advmss -= 12; in do_act_establish() 947 if (csk->advmss < 128) in do_act_establish() 948 csk->advmss = 128; in do_act_establish() 952 csk, TCPOPT_MSS_G(tcp_opt), csk->advmss); in do_act_establish()
|
/linux/drivers/scsi/cxgbi/ |
A 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()
|
A D | libcxgbi.h | 122 unsigned short advmss; member
|
/linux/include/linux/ |
A D | tcp.h | 224 u16 advmss; /* Advertised MSS */ member
|
/linux/net/ipv6/ |
A D | tcp_ipv6.c | 1392 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v6_syn_recv_sock()
|
/linux/Documentation/networking/ |
A 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…
|
Completed in 87 milliseconds