Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Dsyncookies.c73 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
264 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; in cookie_timestamp_decode()
385 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v4_check()
Dtcp_minisocks.c516 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child()
519 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
522 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
Dtcp_input.c3476 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
3991 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
3993 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
3996 snd_wscale, in tcp_parse_options()
3998 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4000 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4187 !tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) && in tcp_disordered_ack()
5936 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6120 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6414 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
Dtcp.c2824 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
2827 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
2830 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
3414 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/Linux-v5.10/net/ipv6/
Dsyncookies.c205 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
/Linux-v5.10/include/linux/
Dtcp.h93 snd_wscale : 4, /* Window scaling received from sender */ member
105 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h94 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
Dchtls_cm.c154 tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); in assign_rxopt()
462 tp->max_window = 0xFFFF << (tp->rx_opt.snd_wscale); in chtls_disconnect()
1376 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
/Linux-v5.10/include/net/
Dinet_sock.h82 u16 snd_wscale : 4, member
Dtcp.h685 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/Linux-v5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h241 u8 snd_wscale; member
Dcxgbit_cm.c1395 if (csk->snd_wscale) in cxgbit_tx_flowc_wr_credits()
1462 if (csk->snd_wscale) { in cxgbit_send_tx_flowc_wr()
1464 flowc->mnemval[index].val = cpu_to_be32(csk->snd_wscale); in cxgbit_send_tx_flowc_wr()
1652 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
/Linux-v5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.h277 u8 snd_wscale; member
Di40iw_cm.c672 cm_node->tcp_cntxt.snd_wscale = in i40iw_process_options()
722 cm_node->tcp_cntxt.snd_wscale; in i40iw_handle_tcp_options()
2989 cm_node->tcp_cntxt.snd_wscale = loopback_remotenode->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
2990 loopback_remotenode->tcp_cntxt.snd_wscale = cm_node->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
3315 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in i40iw_init_tcp_ctx()
Di40iw_type.h720 u8 snd_wscale; member
Di40iw_ctrl.c2964 LS_64(tcp->snd_wscale, I40IWQPC_SNDSCALE); in i40iw_sc_qp_setctx()
/Linux-v5.10/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h911 u32 snd_wscale; member
Dcm.c634 flowc->mnemval[8].val = cpu_to_be32(ep->snd_wscale); in send_flowc()
1239 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in act_establish()
2688 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in pass_establish()
3984 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()