Searched refs:snd_wscale (Results 1 – 17 of 17) sorted by relevance
255 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()
67 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()
579 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()
3704 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()4235 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local4237 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 …]
3479 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local3482 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()
91 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
155 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()
241 u8 snd_wscale; member
1396 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()
233 u8 snd_wscale; member
723 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()
903 u8 snd_wscale; member
1002 FIELD_PREP(IRDMAQPC_SNDSCALE, tcp->snd_wscale); in irdma_sc_qp_setctx()
935 u32 snd_wscale; member
634 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()
503 u8 snd_wscale; member783 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
12018 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()