Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dsyncookies.c73 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()
345 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.c3383 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
3879 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
3881 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
3884 snd_wscale, in tcp_parse_options()
3886 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
3888 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4069 !tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) && in tcp_disordered_ack()
5772 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
5946 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6235 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
Dtcp.c2741 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
2744 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
2747 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
3245 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/Linux-v5.4/net/ipv6/
Dsyncookies.c205 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
/Linux-v5.4/include/linux/
Dtcp.h93 snd_wscale : 4, /* Window scaling received from sender */ member
103 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_cm.h93 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
Dchtls_cm.c116 tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); in assign_rxopt()
424 tp->max_window = 0xFFFF << (tp->rx_opt.snd_wscale); in chtls_disconnect()
1217 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit.h242 u8 snd_wscale; member
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()
1637 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
/Linux-v5.4/include/net/
Dinet_sock.h82 u16 snd_wscale : 4, member
Dtcp.h669 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/Linux-v5.4/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()
2997 cm_node->tcp_cntxt.snd_wscale = loopback_remotenode->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
2998 loopback_remotenode->tcp_cntxt.snd_wscale = cm_node->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
3323 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in i40iw_init_tcp_ctx()
Di40iw_type.h713 u8 snd_wscale; member
Di40iw_ctrl.c2876 LS_64(tcp->snd_wscale, I40IWQPC_SNDSCALE); in i40iw_sc_qp_setctx()
/Linux-v5.4/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()
3981 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()