Home
last modified time | relevance | path

Searched refs:rcv_wscale (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/net/ipv6/
Dsyncookies.c141 __u8 rcv_wscale; in cookie_v6_check() local
255 ireq->wscale_ok, &rcv_wscale, in cookie_v6_check()
258 ireq->rcv_wscale = rcv_wscale; in cookie_v6_check()
Dtcp_ipv6.c1127 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v6_reqsk_send_ack()
/linux-6.6.21/net/ipv4/
Dtcp_minisocks.c296 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait()
398 __u8 rcv_wscale; in tcp_openreq_init_rwin() local
424 &rcv_wscale, in tcp_openreq_init_rwin()
426 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin()
548 newtp->rx_opt.rcv_wscale = ireq->rcv_wscale; in tcp_create_openreq_child()
550 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
Dsyncookies.c332 __u8 rcv_wscale; in cookie_v4_check() local
436 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
439 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
Dtcp_output.c101 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq()
207 int wscale_ok, __u8 *rcv_wscale, in tcp_select_initial_window() argument
237 *rcv_wscale = 0; in tcp_select_initial_window()
243 *rcv_wscale = clamp_t(int, ilog2(space) - 15, in tcp_select_initial_window()
247 (*window_clamp) = min_t(__u32, U16_MAX << (*rcv_wscale), *window_clamp); in tcp_select_initial_window()
280 if (!READ_ONCE(net->ipv4.sysctl_tcp_shrink_window) || !tp->rx_opt.rcv_wscale) { in tcp_select_window()
284 new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); in tcp_select_window()
294 if (!tp->rx_opt.rcv_wscale && in tcp_select_window()
298 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in tcp_select_window()
301 new_win >>= tp->rx_opt.rcv_wscale; in tcp_select_window()
[all …]
Dtcp.c3172 u16 rcv_wscale = opt.opt_val >> 16; in tcp_repair_options_est() local
3174 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3178 tp->rx_opt.rcv_wscale = rcv_wscale; in tcp_repair_options_est()
3777 info->tcpi_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_get_info()
Dtcp_ipv4.c990 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v4_reqsk_send_ack()
Dtcp_input.c6313 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Di40iw_if.c91 iwdev->rcv_wscale = IRDMA_CM_DEFAULT_RCV_WND_SCALE; in i40iw_fill_device_info()
Dcm.h234 u8 rcv_wscale; member
Dmain.c252 iwdev->rcv_wscale = IRDMA_CM_DEFAULT_RCV_WND_SCALE; in irdma_fill_device_info()
Dcm.c1405 options->windowscale.shiftcount = cm_node->tcp_cntxt.rcv_wscale; in irdma_send_syn()
2300 cm_node->tcp_cntxt.rcv_wscale = iwdev->rcv_wscale; in irdma_make_cm_node()
2301 cm_node->tcp_cntxt.rcv_wnd = iwdev->rcv_wnd >> cm_node->tcp_cntxt.rcv_wscale; in irdma_make_cm_node()
3027 cm_node->tcp_cntxt.rcv_wscale = IRDMA_CM_DEFAULT_RCV_WND_SCALE; in irdma_create_cm_node()
3335 tcp_info->rcv_wscale = cm_node->tcp_cntxt.rcv_wscale; in irdma_init_tcp_ctx()
3348 << cm_node->tcp_cntxt.rcv_wscale; in irdma_init_tcp_ctx()
Dmain.h350 u8 rcv_wscale; member
Dtype.h904 u8 rcv_wscale; member
Dctrl.c1001 FIELD_PREP(IRDMAQPC_RCVSCALE, tcp->rcv_wscale) | in irdma_sc_qp_setctx()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h92 #define RCV_WSCALE(tp) ((tp)->rx_opt.rcv_wscale)
Dchtls_cm.c159 tp->rx_opt.rcv_wscale = 0; in assign_rxopt()
/linux-6.6.21/net/mptcp/
Doptions.c1295 new_win = min(new_win, 65535U) << tp->rx_opt.rcv_wscale; in mptcp_set_rwin()
1296 if (!tp->rx_opt.rcv_wscale && in mptcp_set_rwin()
1300 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in mptcp_set_rwin()
1303 new_win >>= tp->rx_opt.rcv_wscale; in mptcp_set_rwin()
/linux-6.6.21/include/net/
Dinet_sock.h83 rcv_wscale : 4, member
Dtcp.h1435 __u8 *rcv_wscale, __u32 init_rcv_wnd);
/linux-6.6.21/include/linux/
Dtcp.h124 rcv_wscale : 4; /* Window scaling to send to receiver */ member