Home
last modified time | relevance | path

Searched refs:snd_wscale (Results 1 – 12 of 12) 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/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()
3336 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in irdma_init_tcp_ctx()
H A Dtype.h1047 u8 snd_wscale; member
H A Dctrl.c1397 FIELD_PREP(IRDMAQPC_SNDSCALE, tcp->snd_wscale); in irdma_sc_qp_setctx()
/linux/net/ipv4/
H A Dtcp_input.c3755 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
4331 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
4333 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
4336 snd_wscale, in tcp_parse_options()
4338 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4340 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4589 tp->rx_opt.snd_wscale)) in tcp_disordered_ack_check()
6544 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6733 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
7065 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
H A Dtcp.c3553 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
3556 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3559 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
4243 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/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.h573 u8 snd_wscale; member
1843 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/linux/net/core/
H A Dfilter.c12265 if (attrs->snd_wscale > TCP_MAX_WSCALE || in bpf_sk_assign_tcp_reqsk()
12292 ireq->snd_wscale = attrs->snd_wscale; in bpf_sk_assign_tcp_reqsk()