Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcp_custom_syncookie.c255 ctx->attrs.snd_wscale = *wscale; in tcp_parse_option()
297 if (!ctx->attrs.wscale_ok || ctx->attrs.snd_wscale != 7) in tcp_validate_sysctl()
353 hash |= ctx->attrs.snd_wscale & BPF_SYNCOOKIE_WSCALE_MASK; in tcp_prepare_cookie()
375 ctx->attrs.snd_wscale); in tcp_write_options()
494 ctx->attrs.snd_wscale = cookie & BPF_SYNCOOKIE_WSCALE_MASK; in tcp_validate_cookie()
495 ctx->attrs.rcv_wscale = ctx->attrs.snd_wscale; in tcp_validate_cookie()
496 ctx->attrs.wscale_ok = ctx->attrs.snd_wscale == BPF_SYNCOOKIE_WSCALE_MASK; in tcp_validate_cookie()
/linux/net/ipv4/
H A Dsyncookies.c67 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
258 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; in cookie_timestamp_decode()
344 ireq->snd_wscale = tcp_opt->snd_wscale; in cookie_tcp_reqsk_alloc()
H A Dtcp_minisocks.c579 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child()
582 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
585 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
H A Dtcp_input.c3704 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
4235 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
4237 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
4240 snd_wscale, in tcp_parse_options()
4242 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4244 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4484 tp->rx_opt.snd_wscale)) in tcp_disordered_ack_check()
6358 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6546 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6876 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
H A Dtcp.c3479 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
3482 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3485 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
4119 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.h91 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
H A Dchtls_cm.c155 tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); in assign_rxopt()
465 tp->max_window = 0xFFFF << (tp->rx_opt.snd_wscale); in chtls_disconnect()
1388 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit.h241 u8 snd_wscale; member
H A Dcxgbit_cm.c1396 if (csk->snd_wscale) in cxgbit_tx_flowc_wr_credits()
1463 if (csk->snd_wscale) { in cxgbit_send_tx_flowc_wr()
1465 flowc->mnemval[index].val = cpu_to_be32(csk->snd_wscale); in cxgbit_send_tx_flowc_wr()
1650 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
/linux/drivers/infiniband/hw/irdma/
H A Dcm.h233 u8 snd_wscale; member
H A Dcm.c723 cm_node->tcp_cntxt.snd_wscale = in irdma_process_options()
769 << cm_node->tcp_cntxt.snd_wscale; in irdma_handle_tcp_options()
3335 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in irdma_init_tcp_ctx()
H A Dtype.h903 u8 snd_wscale; member
H A Dctrl.c1002 FIELD_PREP(IRDMAQPC_SNDSCALE, tcp->snd_wscale); in irdma_sc_qp_setctx()
/linux/drivers/infiniband/hw/cxgb4/
H A Diw_cxgb4.h935 u32 snd_wscale; member
H A Dcm.c634 flowc->mnemval[8].val = cpu_to_be32(ep->snd_wscale); in send_flowc()
1241 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in act_establish()
2692 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in pass_establish()
3989 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()
/linux/include/net/
H A Dtcp.h503 u8 snd_wscale; member
783 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/linux/net/core/
H A Dfilter.c12018 if (attrs->snd_wscale > TCP_MAX_WSCALE || in bpf_sk_assign_tcp_reqsk()
12045 ireq->snd_wscale = attrs->snd_wscale; in bpf_sk_assign_tcp_reqsk()