Home
last modified time | relevance | path

Searched refs:wscale (Results 1 - 25 of 34) sorted by relevance

12

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dxdp_synproxy_kern.c191 __u8 wscale; member
217 __u8 *opcode, *opsize, *wscale, *tsecr; in tscookie_tcpopt_parse() local
235 wscale = next(ctx, 1); in tscookie_tcpopt_parse()
236 if (!wscale) in tscookie_tcpopt_parse()
239 ctx->wscale = *wscale < TCP_MAX_WSCALE ? *wscale : TCP_MAX_WSCALE; in tscookie_tcpopt_parse()
280 .wscale = TS_OPT_WSCALE_MASK, in tscookie_init()
298 cookie |= loop_ctx.wscale & TS_OPT_WSCALE_MASK; in tscookie_init()
308 static __always_inline void values_get_tcpipopts(__u16 *mss, __u8 *wscale, in values_get_tcpipopts() argument
480 tcp_mkoptions(__be32 *buf, __be32 *tsopt, __u16 mss, __u8 wscale) tcp_mkoptions() argument
512 tcp_gen_synack(struct tcphdr *tcp_header, __u32 cookie, __be32 *tsopt, __u16 mss, __u8 wscale) tcp_gen_synack() argument
536 __u8 wscale; tcpv4_gen_synack() local
559 __u8 wscale; tcpv6_gen_synack() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/libcxgb/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/cxgbi/
H A Dlibcxgbi.h358 unsigned int wscale = 0; in cxgbi_sock_compute_wscale() local
360 while (wscale < 14 && (65535 << wscale) < win) in cxgbi_sock_compute_wscale()
361 wscale++; in cxgbi_sock_compute_wscale()
362 return wscale; in cxgbi_sock_compute_wscale()
/kernel/linux/linux-5.10/net/netfilter/
H A 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()
625 nth->window = htons(ntohs(th->window) >> opts->wscale); in synproxy_send_client_ack()
[all...]
H A 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()
/kernel/linux/linux-6.6/net/netfilter/
H A 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()
[all...]
H A 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()
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
H A Dnf_synproxy.h19 __u8 wscale; member
/kernel/linux/linux-6.6/include/uapi/linux/netfilter/
H A Dnf_synproxy.h19 __u8 wscale; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/netfilter/
H A Dnf_synproxy.h30 __u8 wscale; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
H A Dnf_synproxy.h30 __u8 wscale; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
H A Dxt_SYNPROXY.h16 __u8 wscale; member
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c73 fprintf(stderr, "Usage: %s [--iface <iface>|--prog <prog_id>] [--mss4 <mss ipv4> --mss6 <mss ipv6> --wscale <wscale> --ttl <ttl>] [--ports <port1>,<port2>,...] [--single] [--tc]\n", in usage()
100 { "wscale", required_argument, NULL, 'w' }, in parse_options()
107 unsigned long mss4, wscale, ttl; in parse_options() local
151 wscale = parse_arg_ul(argv[0], optarg, 14); in parse_options()
175 if (mss4 == 0 || mss6 == 0 || wscale == 0 || ttl == 0) in parse_options()
177 *tcpipopts = (mss6 << 32) | (ttl << 24) | (wscale << 16) | mss4; in parse_options()
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_synproxy.h37 u8 wscale; member
/kernel/linux/linux-6.6/include/net/netfilter/
H A Dnf_synproxy.h37 u8 wscale; member
/kernel/linux/common_modules/newip/src/linux-5.10/net/newip/
H A Dtcp_nip_parameter.c113 module_param_named(wscale, g_wscale, int, 0644);
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/
H A 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
1993 wscale = cxgb_compute_wscale(rcv_win); in send_fw_act_open_req()
2007 WND_SCALE_V(wscale) | in send_fw_act_open_req()
2024 if (wscale && enable_tcp_window_scaling) in send_fw_act_open_req()
2422 u32 wscale; in accept_cr() local
2431 wscale in accept_cr()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/cxgb4/
H A 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
1993 wscale = cxgb_compute_wscale(rcv_win); in send_fw_act_open_req()
2007 WND_SCALE_V(wscale) | in send_fw_act_open_req()
2024 if (wscale && enable_tcp_window_scaling) in send_fw_act_open_req()
2422 u32 wscale; in accept_cr() local
2431 wscale in accept_cr()
[all...]
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
H A 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()
/kernel/linux/linux-6.6/drivers/target/iscsi/cxgbit/
H A 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A 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()
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c211 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req() local
218 WND_SCALE_V(wscale) | in send_act_open_req()
330 int wscale = cxgbi_sock_compute_wscale(csk->mss_idx); in send_act_open_req6() local
337 WND_SCALE_V(wscale) | in send_act_open_req6()

Completed in 30 milliseconds

12