Home
last modified time | relevance | path

Searched refs:snd_wscale (Results 1 – 13 of 13) 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()
298 !ctx->attrs.snd_wscale || in tcp_validate_sysctl()
299 ctx->attrs.snd_wscale >= BPF_SYNCOOKIE_WSCALE_MASK) in tcp_validate_sysctl()
355 hash |= ctx->attrs.snd_wscale & BPF_SYNCOOKIE_WSCALE_MASK; in tcp_prepare_cookie()
377 ctx->attrs.snd_wscale); in tcp_write_options()
496 ctx->attrs.snd_wscale = cookie & BPF_SYNCOOKIE_WSCALE_MASK; in tcp_validate_cookie()
497 ctx->attrs.rcv_wscale = ctx->attrs.snd_wscale; in tcp_validate_cookie()
498 ctx->attrs.wscale_ok = ctx->attrs.snd_wscale == BPF_SYNCOOKIE_WSCALE_MASK; in tcp_validate_cookie()
/linux/net/ipv4/
H A Dsyncookies.c68 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()
342 ireq->snd_wscale = tcp_opt->snd_wscale; in cookie_tcp_reqsk_alloc()
H A Dtcp_minisocks.c608 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child()
611 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
614 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
H A Dtcp_input.c3959 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
4582 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
4584 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
4587 snd_wscale, in tcp_parse_options()
4589 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4591 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4786 tp->rx_opt.snd_wscale)) in tcp_disordered_ack_check()
6725 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6915 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
7248 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
H A Dtcp.c3574 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
3577 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3580 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
4269 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/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()
3339 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in irdma_init_tcp_ctx()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
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()
1390 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
/linux/drivers/infiniband/hw/cxgb4/
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.h608 u8 snd_wscale; member
1951 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/linux/net/core/
H A Dfilter.c12268 if (attrs->snd_wscale > TCP_MAX_WSCALE || in bpf_sk_assign_tcp_reqsk()
12295 ireq->snd_wscale = attrs->snd_wscale; in bpf_sk_assign_tcp_reqsk()