Home
last modified time | relevance | path

Searched refs:rcv_wnd (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/net/ipv4/
Dtcp_minisocks.c383 u32 rcv_wnd; in tcp_openreq_init_rwin() local
396 rcv_wnd = tcp_rwnd_init_bpf((struct sock *)req); in tcp_openreq_init_rwin()
397 if (rcv_wnd == 0) in tcp_openreq_init_rwin()
398 rcv_wnd = dst_metric(dst, RTAX_INITRWND); in tcp_openreq_init_rwin()
399 else if (full_space < rcv_wnd * mss) in tcp_openreq_init_rwin()
400 full_space = rcv_wnd * mss; in tcp_openreq_init_rwin()
409 rcv_wnd); in tcp_openreq_init_rwin()
527 newtp->rcv_wnd = req->rsk_rcv_wnd; in tcp_create_openreq_child()
Dtcp_output.c207 __u32 *rcv_wnd, __u32 *window_clamp, in tcp_select_initial_window() argument
231 (*rcv_wnd) = min(space, MAX_TCP_WINDOW); in tcp_select_initial_window()
233 (*rcv_wnd) = min_t(u32, space, U16_MAX); in tcp_select_initial_window()
236 *rcv_wnd = min(*rcv_wnd, init_rcv_wnd * mss); in tcp_select_initial_window()
260 u32 old_win = tp->rcv_wnd; in tcp_select_window()
278 tp->rcv_wnd = new_win; in tcp_select_window()
1354 th->window = htons(min(tp->rcv_wnd, 65535U)); in __tcp_transmit_skb()
3011 window = tp->rcv_wnd; in __tcp_select_window()
3656 u32 rcv_wnd; in tcp_connect_init() local
3690 rcv_wnd = tcp_rwnd_init_bpf(sk); in tcp_connect_init()
[all …]
Dtcp.c3234 if (after(opt.snd_wl1, tp->rcv_nxt + opt.rcv_wnd)) in tcp_repair_set_window()
3244 tp->rcv_wnd = opt.rcv_wnd; in tcp_repair_set_window()
3483 tp->rcv_ssthresh = min(tp->rcv_wnd, tp->window_clamp); in tcp_set_window_clamp()
4226 opt.rcv_wnd = tp->rcv_wnd; in do_tcp_getsockopt()
Dtcp_input.c281 unsigned int quickacks = tcp_sk(sk)->rcv_wnd / (2 * icsk->icsk_ack.rcv_mss); in tcp_incr_quickack()
567 tp->rcvq_space.space = min3(tp->rcv_ssthresh, tp->rcv_wnd, in tcp_init_buffer_space()
605 hint = min(hint, tp->rcv_wnd / 2); in tcp_initialize_rcv_mss()
670 tp->rcv_rtt_est.seq = tp->rcv_nxt + tp->rcv_wnd; in tcp_rcv_rtt_measure()
5518 __tcp_select_window(sk) >= tp->rcv_wnd)) || in __tcp_ack_snd_check()
/linux-6.1.9/include/trace/events/
Dtcp.h259 __field(__u32, rcv_wnd)
284 __entry->rcv_wnd = tp->rcv_wnd;
295 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie)
/linux-6.1.9/include/linux/qed/
Dtcp_common.h91 __le32 rcv_wnd; member
236 __le32 rcv_wnd; member
Dqed_iscsi_if.h73 u32 rcv_wnd; member
/linux-6.1.9/net/mptcp/
Doptions.c1241 rcv_wnd_new = ack_seq + tp->rcv_wnd; in mptcp_set_rwin()
1245 u64 rcv_wnd; in mptcp_set_rwin() local
1248 rcv_wnd = atomic64_cmpxchg(&msk->rcv_wnd_sent, rcv_wnd_old, rcv_wnd_new); in mptcp_set_rwin()
1250 if (rcv_wnd == rcv_wnd_old) in mptcp_set_rwin()
1252 if (before64(rcv_wnd_new, rcv_wnd)) { in mptcp_set_rwin()
1257 rcv_wnd_old = rcv_wnd; in mptcp_set_rwin()
1265 tp->rcv_wnd = min_t(u64, win, U32_MAX); in mptcp_set_rwin()
1266 new_win = tp->rcv_wnd; in mptcp_set_rwin()
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/
Dqed_nvmetcp.h72 u32 rcv_wnd; member
Dqed_iscsi.c78 u32 rcv_wnd; member
362 p_tcp->rcv_wnd = cpu_to_le32(p_conn->rcv_wnd); in qed_sp_iscsi_conn_offload()
1242 con->rcv_wnd = conn_info->rcv_wnd; in qed_iscsi_offload_conn()
/linux-6.1.9/drivers/infiniband/hw/irdma/
Di40iw_if.c90 iwdev->rcv_wnd = IRDMA_CM_DEFAULT_RCV_WND_SCALED; in i40iw_fill_device_info()
Dcm.c378 tcph->window = htons(cm_node->tcp_cntxt.rcv_wnd); in irdma_form_ah_cm_frame()
566 tcph->window = htons(cm_node->tcp_cntxt.rcv_wnd); in irdma_form_uda_cm_frame()
2249 cm_node->tcp_cntxt.rcv_wnd = iwdev->rcv_wnd >> cm_node->tcp_cntxt.rcv_wscale; in irdma_make_cm_node()
2588 u32 rcv_wnd; in irdma_check_seq() local
2593 rcv_wnd = cm_node->tcp_cntxt.rcv_wnd; in irdma_check_seq()
2595 !between(seq, rcv_nxt, (rcv_nxt + rcv_wnd))) in irdma_check_seq()
3293 tcp_info->rcv_wnd = cm_node->tcp_cntxt.rcv_wnd in irdma_init_tcp_ctx()
Dcm.h231 u32 rcv_wnd; member
Dmain.c251 iwdev->rcv_wnd = IRDMA_CM_DEFAULT_RCV_WND_SCALED; in irdma_fill_device_info()
Dmain.h342 u32 rcv_wnd; member
Dpuda.c1592 u32 rcv_wnd = hw_host_ctx[23]; in irdma_ieq_handle_exception() local
1631 if (!(rcv_wnd >= (buf->seqnum - pfpdu->rcv_nxt))) { in irdma_ieq_handle_exception()
Dtype.h952 u32 rcv_wnd; member
/linux-6.1.9/include/uapi/linux/
Dtcp.h147 __u32 rcv_wnd; member
/linux-6.1.9/tools/include/uapi/linux/
Dtcp.h147 __u32 rcv_wnd; member
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c1343 unsigned int wnd = tp->rcv_wnd; in chtls_select_window()
1357 if (wnd > tp->rcv_wnd) { in chtls_select_window()
1358 tp->rcv_wup -= wnd - tp->rcv_wnd; in chtls_select_window()
1359 tp->rcv_wnd = wnd; in chtls_select_window()
1422 must_send = credits + 16384 >= tp->rcv_wnd; in chtls_cleanup_rbuf()
Dchtls_cm.c1043 RCV_BUFSIZ_V(min(tp->rcv_wnd >> 10, RCV_BUFSIZ_M)); in chtls_pass_accept_rpl()
1226 tp->rcv_wnd = csk->rcv_win; in chtls_recv_sock()
1472 if (tp->rcv_wnd > (RCV_BUFSIZ_M << 10)) in make_established()
1473 tp->rcv_wup -= tp->rcv_wnd - (RCV_BUFSIZ_M << 10); in make_established()
/linux-6.1.9/include/linux/
Dtcp.h334 u32 rcv_wnd; /* Current receiver window */ member
/linux-6.1.9/include/net/
Dtcp.h724 tp->rcv_wnd && in tcp_fast_path_check()
763 s32 win = tp->rcv_wup + tp->rcv_wnd - tp->rcv_nxt; in tcp_receive_window()
1432 __u32 mss, __u32 *rcv_wnd,
/linux-6.1.9/Documentation/trace/
Dhistogram.rst2311 onchange($cwnd).save(snd_wnd,srtt,rcv_wnd): \
2325 changed: 10 snd_wnd: 35456 srtt: 154262 rcv_wnd: 42112
2328 changed: 10 snd_wnd: 28960 srtt: 19604 rcv_wnd: 29312
2331 changed: 10 snd_wnd: 48384 srtt: 260444 rcv_wnd: 55168
2334 changed: 10 snd_wnd: 26960 srtt: 17379 rcv_wnd: 28800
2365 …xe3ae2ff5 snd_una=0xe3ae2ecd snd_cwnd=10 ssthresh=2147483647 snd_wnd=28960 srtt=19604 rcv_wnd=29312
/linux-6.1.9/drivers/scsi/qedi/
Dqedi_iscsi.c554 conn_info->rcv_wnd = 65535; in qedi_iscsi_offload_conn()

12