Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/tools/testing/selftests/bpf/progs/
Dxdp_synproxy_kern.c190 __u8 wscale; member
227 ctx->wscale = ctx->ptr[2] < TCP_MAX_WSCALE ? ctx->ptr[2] : TCP_MAX_WSCALE; in tscookie_tcpopt_parse()
266 .wscale = TS_OPT_WSCALE_MASK, in tscookie_init()
278 cookie |= loop_ctx.wscale & TS_OPT_WSCALE_MASK; in tscookie_init()
288 static __always_inline void values_get_tcpipopts(__u16 *mss, __u8 *wscale, in values_get_tcpipopts() argument
300 *wscale = (*value >> 16) & 0xf; in values_get_tcpipopts()
306 *wscale = DEFAULT_WSCALE; in values_get_tcpipopts()
461 __u8 wscale) in tcp_mkoptions() argument
487 wscale); in tcp_mkoptions()
494 __u16 mss, __u8 wscale) in tcp_gen_synack() argument
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dxdp_synproxy.c107 unsigned long mss4, mss6, wscale, ttl; in parse_options() local
149 wscale = parse_arg_ul(argv[0], optarg, 14); in parse_options()
173 if (mss4 == 0 || mss6 == 0 || wscale == 0 || ttl == 0) in parse_options()
175 *tcpipopts = (mss6 << 32) | (ttl << 24) | (wscale << 16) | mss4; in parse_options()
/Linux-v6.1/net/netfilter/
Dnf_synproxy_core.c70 opts->wscale = *ptr; in synproxy_parse_options()
71 if (opts->wscale > TCP_MAX_WSCALE) in synproxy_parse_options()
72 opts->wscale = TCP_MAX_WSCALE; in synproxy_parse_options()
149 opts->wscale); in synproxy_build_options()
159 opts->tsval |= opts->wscale; in synproxy_init_timestamp_cookie()
160 opts->wscale = info->wscale; in synproxy_init_timestamp_cookie()
175 opts->wscale = opts->tsecr & 0xf; in synproxy_check_timestamp_cookie()
176 if (opts->wscale != 0xf) in synproxy_check_timestamp_cookie()
602 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack()
1017 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()
233 nla_put_u8(skb, NFTA_SYNPROXY_WSCALE, priv->info.wscale) || in nft_synproxy_do_dump()
/Linux-v6.1/drivers/scsi/cxgbi/
Dlibcxgbi.h359 unsigned int wscale = 0; in cxgbi_sock_compute_wscale() local
361 while (wscale < 14 && (65535 << wscale) < win) in cxgbi_sock_compute_wscale()
362 wscale++; in cxgbi_sock_compute_wscale()
363 return wscale; in cxgbi_sock_compute_wscale()
/Linux-v6.1/include/uapi/linux/netfilter/
Dnf_synproxy.h19 __u8 wscale; member
/Linux-v6.1/include/net/netfilter/
Dnf_synproxy.h37 u8 wscale; member
/Linux-v6.1/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-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c991 int wscale = 0; in select_rcv_wscale() local
999 while (wscale < 14 && (65535 << wscale) < space) in select_rcv_wscale()
1000 wscale++; in select_rcv_wscale()
1002 return wscale; in select_rcv_wscale()
/Linux-v6.1/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c1140 u32 wscale; in cxgbit_pass_accept_rpl() local
1159 wscale = cxgb_compute_wscale(csk->rcv_win); in cxgbit_pass_accept_rpl()
1168 WND_SCALE_V(wscale) | in cxgbit_pass_accept_rpl()
1187 if (wscale) in cxgbit_pass_accept_rpl()
/Linux-v6.1/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c212 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req() local
219 WND_SCALE_V(wscale) | in send_act_open_req()
331 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req6() local
338 WND_SCALE_V(wscale) | in send_act_open_req6()
/Linux-v6.1/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c162 unsigned int wscale = cxgbi_sock_compute_wscale(csk->rcv_win); in send_act_open_req() local
175 V_WND_SCALE(wscale) | V_MSS_IDX(csk->mss_idx) | in send_act_open_req()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Dtype.h924 bool wscale:1; member
Dcm.c3269 tcp_info->wscale = true; in irdma_init_tcp_ctx()
Dctrl.c995 FIELD_PREP(IRDMAQPC_WSCALE, tcp->wscale) | in irdma_sc_qp_setctx()
/Linux-v6.1/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