Home
last modified time | relevance | path

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

12

/freebsd/cddl/lib/libdtrace/
H A Dsiftr.d52 uint32_t rcv_wnd; member
89 rcv_wnd = p == NULL ? 0 : p->rcv_wnd;
H A Dtcp.d240 tcps_rwnd = p == NULL ? -1 : p->rcv_wnd;
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c643 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd); in _ctf_drop_checks()
655 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in _ctf_drop_checks()
739 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in __ctf_process_rst()
740 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq)) { in __ctf_process_rst()
827 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) { in ctf_challenge_ack()
921 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in ctf_calc_rwin()
H A Dbbr.c8780 tp->rcv_adv += min(tp->rcv_wnd, in bbr_do_syn_sent()
8857 if (tlen > tp->rcv_wnd) { in bbr_do_syn_sent()
8858 todrop = tlen - tp->rcv_wnd; in bbr_do_syn_sent()
8860 tlen = tp->rcv_wnd; in bbr_do_syn_sent()
H A Drack.c14201 tp->rcv_adv += min(tp->rcv_wnd, in rack_do_syn_sent()
14293 if (tlen > tp->rcv_wnd) { in rack_do_syn_sent()
14294 todrop = tlen - tp->rcv_wnd; in rack_do_syn_sent()
14296 tlen = tp->rcv_wnd; in rack_do_syn_sent()
18271 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in rack_do_segment_nounlock()
18272 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq))) { in rack_do_segment_nounlock()
26161 ti->tcpi_rcv_space = tp->rcv_wnd; in rack_fill_info()
/freebsd/sys/dev/qlnx/qlnxe/
H A Dtcp_common.h127 __le32 rcv_wnd /* absolute receive window (not scaled) */; member
284 __le32 rcv_wnd /* absolute receive window (not scaled) */; member
H A Decore_iscsi_api.h128 u32 rcv_wnd; member
H A Decore_hsi_iwarp.h1111 __le16 rcv_wnd /* TCP window after scaling */; member
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c374 tp->rcv_wnd = (u_int)toep->params.opt0_bufsize << 10; in make_established()
375 tp->rcv_adv += tp->rcv_wnd; in make_established()
424 rx_credits = sbspace(sb) > tp->rcv_wnd ? sbspace(sb) - tp->rcv_wnd : 0; in t4_rcvd_locked()
426 (tp->rcv_wnd <= 32 * 1024 || rx_credits >= 64 * 1024 || in t4_rcvd_locked()
427 (rx_credits >= 16 * 1024 && tp->rcv_wnd <= 128 * 1024) || in t4_rcvd_locked()
428 sbused(sb) + tp->rcv_wnd < sb->sb_lowat)) { in t4_rcvd_locked()
430 tp->rcv_wnd += rx_credits; in t4_rcvd_locked()
1696 if (tp->rcv_wnd < len) { in do_rx_data()
1701 tp->rcv_wnd -= len; in do_rx_data()
H A Dt4_tls.c837 KASSERT(tp->rcv_wnd >= pdu_length, in do_rx_tls_cmp()
839 tp->rcv_wnd -= pdu_length; in do_rx_tls_cmp()
1011 KASSERT(tp->rcv_wnd >= len, ("%s: negative window size", __func__)); in do_rx_data_tls()
1012 tp->rcv_wnd -= len; in do_rx_data_tls()
H A Dt4_ddp.c482 KASSERT(tp->rcv_wnd >= n, ("%s: negative window size", __func__)); in insert_ddp_data()
483 tp->rcv_wnd -= n; in insert_ddp_data()
728 KASSERT(tp->rcv_wnd >= len, ("%s: negative window size", __func__)); in handle_ddp_data_aio()
729 tp->rcv_wnd -= len; in handle_ddp_data_aio()
945 KASSERT(tp->rcv_wnd >= len, ("%s: negative window size", __func__)); in handle_ddp_data_rcvbuf()
946 tp->rcv_wnd -= len; in handle_ddp_data_rcvbuf()
/freebsd/sys/netinet/
H A Dsiftr.c177 uint32_t rcv_wnd; member
423 pkt_node->rcv_wnd, in siftr_process_pkt()
682 pn->rcv_wnd = tp->rcv_wnd; in siftr_siftdata()
H A Dtcp_input.c1980 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in tcp_do_segment()
2064 tp->rcv_adv += min(tp->rcv_wnd, in tcp_do_segment()
2130 if (tlen > tp->rcv_wnd) { in tcp_do_segment()
2131 todrop = tlen - tp->rcv_wnd; in tcp_do_segment()
2133 tlen = tp->rcv_wnd; in tcp_do_segment()
2181 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) || in tcp_do_segment()
2182 (tp->rcv_wnd == 0 && tp->last_ack_sent == th->th_seq)) { in tcp_do_segment()
2229 SEQ_LT(th->th_seq, tp->last_ack_sent + tp->rcv_wnd)) { in tcp_do_segment()
2372 todrop = (th->th_seq + tlen) - (tp->rcv_nxt + tp->rcv_wnd); in tcp_do_segment()
2384 if (tp->rcv_wnd == 0 && th->th_seq == tp->rcv_nxt) { in tcp_do_segment()
H A Dtcp_syncache.c950 tp->rcv_wnd = sc->sc_wnd; in syncache_socket()
951 tp->rcv_adv += tp->rcv_wnd; in syncache_socket()
H A Dtcp_usrreq.c1594 ti->tcpi_rcv_space = tp->rcv_wnd; in tcp_fill_info()
3065 tp->rcv_adv, tp->rcv_wnd, tp->rcv_up); in db_print_tcpcb()
H A Dtcp_var.h363 uint32_t rcv_wnd; /* receive window */ member
H A Dtcp_log_buf.c1861 COPY_STAT(rcv_wnd); in tcp_log_event()
/freebsd/share/dtrace/
H A Dsiftr43 args[0]->rcv_wnd,
/freebsd/sys/dev/irdma/
H A Dirdma_cm.c420 tcph->th_win = htons(cm_node->tcp_cntxt.rcv_wnd); in irdma_form_ah_cm_frame()
607 tcph->th_win = htons(cm_node->tcp_cntxt.rcv_wnd); in irdma_form_uda_cm_frame()
2203 cm_node->tcp_cntxt.rcv_wnd = iwdev->rcv_wnd >> cm_node->tcp_cntxt.rcv_wscale; in irdma_make_cm_node()
2502 u32 rcv_wnd; in irdma_check_seq() local
2507 rcv_wnd = cm_node->tcp_cntxt.rcv_wnd; in irdma_check_seq()
2509 !between(seq, rcv_nxt, (rcv_nxt + rcv_wnd))) in irdma_check_seq()
3221 tcp_info->rcv_wnd = cm_node->tcp_cntxt.rcv_wnd in irdma_init_tcp_ctx()
H A Dirdma_cm.h263 u32 rcv_wnd; member
H A Dirdma_main.h379 u32 rcv_wnd; member
H A Dicrdma.c539 iwdev->rcv_wnd = IRDMA_CM_DEFAULT_RCV_WND_SCALED; in irdma_fill_device_info()
H A Dirdma_puda.c1707 u32 rcv_wnd = hw_host_ctx[23]; in irdma_ieq_handle_exception() local
1750 if (!(rcv_wnd >= (buf->seqnum - pfpdu->rcv_nxt))) { in irdma_ieq_handle_exception()
H A Dirdma_type.h940 u32 rcv_wnd; member
H A Dirdma_kcompat.c1361 2 * cm_node->iwdev->vsi.mtu > cm_node->iwdev->rcv_wnd) in kc_set_loc_seq_num_mss()

12