Home
last modified time | relevance | path

Searched refs:wscale (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.h81 u32 wscale = 0; in cxgb_compute_wscale() local
83 while (wscale < 14 && (65535 << wscale) < win) in cxgb_compute_wscale()
84 wscale++; in cxgb_compute_wscale()
85 return wscale; in cxgb_compute_wscale()
/Linux-v5.4/drivers/infiniband/hw/cxgb3/
Diwch_cm.h208 int wscale = 0; in compute_wscale() local
210 while (wscale < 14 && (65535<<wscale) < win) in compute_wscale()
211 wscale++; in compute_wscale()
212 return wscale; in compute_wscale()
Diwch_cm.c432 int wscale; in send_connect() local
442 wscale = compute_wscale(rcv_win); in send_connect()
447 V_WND_SCALE(wscale) | in send_connect()
1273 int wscale; in accept_cr() local
1280 wscale = compute_wscale(rcv_win); in accept_cr()
1285 V_WND_SCALE(wscale) | in accept_cr()
/Linux-v5.4/drivers/scsi/cxgbi/
Dlibcxgbi.h344 unsigned int wscale = 0; in cxgbi_sock_compute_wscale() local
346 while (wscale < 14 && (65535 << wscale) < win) in cxgbi_sock_compute_wscale()
347 wscale++; in cxgbi_sock_compute_wscale()
348 return wscale; in cxgbi_sock_compute_wscale()
/Linux-v5.4/net/netfilter/
Dnf_synproxy_core.c65 opts->wscale = *ptr; in synproxy_parse_options()
66 if (opts->wscale > TCP_MAX_WSCALE) in synproxy_parse_options()
67 opts->wscale = TCP_MAX_WSCALE; in synproxy_parse_options()
144 opts->wscale); in synproxy_build_options()
154 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie()
155 opts->wscale = info->wscale; in synproxy_init_timestamp_cookie()
170 opts->wscale = opts->tsecr & 0xf; in synproxy_check_timestamp_cookie()
171 if (opts->wscale != 0xf) in synproxy_check_timestamp_cookie()
620 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack()
1036 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack_ipv6()
Dnft_synproxy.c163 priv->info.wscale = nla_get_u8(tb[NFTA_SYNPROXY_WSCALE]); in nft_synproxy_do_init()
231 nla_put_u8(skb, NFTA_SYNPROXY_WSCALE, priv->info.wscale) || in nft_synproxy_do_dump()
/Linux-v5.4/include/uapi/linux/netfilter/
Dnf_synproxy.h19 __u8 wscale; member
/Linux-v5.4/include/net/netfilter/
Dnf_synproxy.h37 u8 wscale; member
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c725 u32 wscale; in send_connect() local
778 wscale = cxgb_compute_wscale(rcv_win); in send_connect()
791 WND_SCALE_V(wscale) | in send_connect()
806 if (wscale && enable_tcp_window_scaling) in send_connect()
1963 u32 wscale; in send_fw_act_open_req() local
1990 wscale = cxgb_compute_wscale(rcv_win); in send_fw_act_open_req()
2004 WND_SCALE_V(wscale) | in send_fw_act_open_req()
2021 if (wscale && enable_tcp_window_scaling) in send_fw_act_open_req()
2419 u32 wscale; in accept_cr() local
2428 wscale = cxgb_compute_wscale(rcv_win); in accept_cr()
[all …]
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_cm.c891 int wscale = 0; in select_rcv_wscale() local
899 while (wscale < 14 && (65535 << wscale) < space) in select_rcv_wscale()
900 wscale++; in select_rcv_wscale()
902 return wscale; in select_rcv_wscale()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1138 u32 wscale; in cxgbit_pass_accept_rpl() local
1157 wscale = cxgb_compute_wscale(csk->rcv_win); in cxgbit_pass_accept_rpl()
1166 WND_SCALE_V(wscale) | in cxgbit_pass_accept_rpl()
1185 if (wscale) in cxgbit_pass_accept_rpl()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c207 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req() local
214 WND_SCALE_V(wscale) | in send_act_open_req()
326 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req6() local
333 WND_SCALE_V(wscale) | in send_act_open_req6()
/Linux-v5.4/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c160 unsigned int wscale = cxgbi_sock_compute_wscale(csk->rcv_win); in send_act_open_req() local
173 V_WND_SCALE(wscale) | V_MSS_IDX(csk->mss_idx) | in send_act_open_req()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_type.h711 bool wscale; member
Di40iw_cm.c3312 tcp_info->wscale = true; in i40iw_init_tcp_ctx()
Di40iw_ctrl.c2871 LS_64(tcp->wscale, I40IWQPC_WSCALE) | in i40iw_sc_qp_setctx()
/Linux-v5.4/Documentation/networking/
Dsnmp_counter.rst1222 …ts sack cubic wscale:7,7 rto:204 rtt:0.98/0.49 mss:1448 pmtu:1500 rcvmss:536 advmss:1448 cwnd:10 b…
1224 The 'wscale:7,7' means both server and client set the window scale