/kernel/linux/linux-5.10/include/net/ |
D | dst.h | 168 u32 advmss = dst_metric_raw(dst, RTAX_ADVMSS); in dst_metric_advmss() local 170 if (!advmss) in dst_metric_advmss() 171 advmss = dst->ops->default_advmss(dst); in dst_metric_advmss() 173 return advmss; in dst_metric_advmss()
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | tcp_nip_output.c | 309 tp->advmss = tcp_mss_clamp(tp, dst_metric_advmss(dst)); in tcp_nip_connect_init() 315 tp->advmss - (tp->rx_opt.ts_recent_stamp ? in tcp_nip_connect_init() 382 int mss = tp->advmss; in tcp_nip_advertise_mss() 392 tp->advmss = mss; in tcp_nip_advertise_mss() 402 tp->advmss = mss; in tcp_nip_advertise_mss() 768 tp->advmss = mss; in get_nip_mss()
|
D | tcp_nip_input.c | 1791 if (tcp_app_win && maxwin > TCP_NUM_4 * tp->advmss) in tcp_nip_init_buffer_space() 1794 TCP_NUM_4 * tp->advmss); in tcp_nip_init_buffer_space() 1798 tp->window_clamp > TCP_NUM_2 * tp->advmss && in tcp_nip_init_buffer_space() 1799 tp->window_clamp + tp->advmss > maxwin) in tcp_nip_init_buffer_space() 1800 tp->window_clamp = max(TCP_NUM_2 * tp->advmss, maxwin - tp->advmss); in tcp_nip_init_buffer_space() 1890 tp->advmss -= TCPOLEN_TSTAMP_ALIGNED; in tcp_nip_rcv_synsent_state_process() 2117 unsigned int hint = min_t(unsigned int, tp->advmss, tp->mss_cache); in tcp_nip_initialize_rcv_mss()
|
D | tcp_nip.c | 905 newtp->advmss = dst_metric_advmss(dst); in tcp_nip_syn_recv_sock() 907 tcp_sk(sk)->rx_opt.user_mss < newtp->advmss) in tcp_nip_syn_recv_sock() 908 newtp->advmss = tcp_sk(sk)->rx_opt.user_mss; in tcp_nip_syn_recv_sock()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | protocol.c | 1385 u32 time, advmss = 1; in mptcp_rcv_space_adjust() local 1411 sf_advmss = READ_ONCE(tp->advmss); in mptcp_rcv_space_adjust() 1414 advmss = max(sf_advmss, advmss); in mptcp_rcv_space_adjust() 1429 rcvwin = ((u64)msk->rcvq_space.copied << 1) + 16 * advmss; in mptcp_rcv_space_adjust() 1436 rcvmem = SKB_TRUESIZE(advmss + MAX_TCP_HEADER); in mptcp_rcv_space_adjust() 1437 while (tcp_win_from_space(sk, rcvmem) < advmss) in mptcp_rcv_space_adjust() 1440 do_div(rcvwin, advmss); in mptcp_rcv_space_adjust() 2115 TCP_INIT_CWND * tp->advmss); in mptcp_rcv_space_init()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | tcp_input.c | 240 tcp_sk(sk)->advmss); in tcp_measure_rcv_mss() 511 incr = 2 * tp->advmss; in tcp_grow_window() 544 if (tcp_app_win && maxwin > 4 * tp->advmss) in tcp_init_buffer_space() 547 4 * tp->advmss); in tcp_init_buffer_space() 552 tp->window_clamp > 2 * tp->advmss && in tcp_init_buffer_space() 553 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space() 554 tp->window_clamp = max(2 * tp->advmss, maxwin - tp->advmss); in tcp_init_buffer_space() 559 (u32)TCP_INIT_CWND * tp->advmss); in tcp_init_buffer_space() 581 tp->rcv_ssthresh = min(tp->window_clamp, 2U * tp->advmss); in tcp_clamp_window() 594 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() 2969 4U * tp->advmss); in __tcp_select_window() 3682 tp->advmss = tcp_mss_clamp(tp, dst_metric_advmss(dst)); in tcp_connect_init() 3696 tp->advmss - (tp->rx_opt.ts_recent_stamp ? tp->tcp_header_len - sizeof(struct tcphdr) : 0), in tcp_connect_init() 3756 tp->rx_opt.mss_clamp = tp->advmss; /* If MSS is not cached */ in tcp_send_syn_data()
|
D | route.c | 1342 unsigned int advmss = max_t(unsigned int, ipv4_mtu(dst) - header_size, in ipv4_default_advmss() local 1345 return min(advmss, IPV4_MAX_PMTU - header_size); in ipv4_default_advmss()
|
D | tcp_ipv4.c | 1578 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v4_syn_recv_sock()
|
D | tcp.c | 3561 info->tcpi_advmss = tp->advmss; in tcp_get_info()
|
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/ |
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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | tcp.h | 224 u16 advmss; /* Advertised MSS */ member
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | tcp_ipv6.c | 1375 newtp->advmss = tcp_mss_clamp(tcp_sk(sk), dst_metric_advmss(dst)); in tcp_v6_syn_recv_sock()
|
/kernel/linux/linux-5.10/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…
|