Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Dsyncookies.c77 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.c530 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child()
533 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
536 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
Dtcp_input.c3374 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
3824 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
3826 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
3829 snd_wscale, in tcp_parse_options()
3831 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
3833 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4014 !tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) && in tcp_disordered_ack()
5679 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
5837 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6108 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
Dtcp.c2676 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
2679 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
2682 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
3150 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/Linux-v4.19/include/linux/
Dtcp.h102 snd_wscale : 4, /* Window scaling received from sender */ member
112 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options()
/Linux-v4.19/net/ipv6/
Dsyncookies.c210 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
/Linux-v4.19/drivers/crypto/chelsio/chtls/
Dchtls_cm.h96 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
Dchtls_cm.c117 tp->rx_opt.snd_wscale = TCPOPT_SACK_G(opt); in assign_rxopt()
428 tp->max_window = 0xFFFF << (tp->rx_opt.snd_wscale); in chtls_disconnect()
1203 inet_rsk(oreq)->snd_wscale = req->tcpopt.wsf; in chtls_pass_accept_request()
/Linux-v4.19/include/net/
Dinet_sock.h86 u16 snd_wscale : 4, member
Dtcp.h658 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/Linux-v4.19/drivers/target/iscsi/cxgbit/
Dcxgbit.h245 u8 snd_wscale; member
Dcxgbit_cm.c1377 if (csk->snd_wscale) in cxgbit_tx_flowc_wr_credits()
1444 if (csk->snd_wscale) { in cxgbit_send_tx_flowc_wr()
1446 flowc->mnemval[index].val = cpu_to_be32(csk->snd_wscale); in cxgbit_send_tx_flowc_wr()
1618 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_cm.h278 u8 snd_wscale; member
Dnes_cm.c1641 cm_node->tcp_cntxt.snd_wscale = in process_options()
2129 cm_node->tcp_cntxt.snd_wscale; in handle_tcp_options()
2390 cm_node->tcp_cntxt.snd_wscale = in mini_cm_connect()
2392 loopbackremotenode->tcp_cntxt.snd_wscale = in mini_cm_connect()
2779 if (cm_node->tcp_cntxt.snd_wscale || cm_node->tcp_cntxt.rcv_wscale) in nes_cm_init_tsa_conn()
2793 (cm_node->tcp_cntxt.snd_wscale << NES_QPCONTEXT_PDWSCALE_SND_WSCALE_SHIFT) & in nes_cm_init_tsa_conn()
/Linux-v4.19/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()
2994 cm_node->tcp_cntxt.snd_wscale = loopback_remotenode->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
2995 loopback_remotenode->tcp_cntxt.snd_wscale = cm_node->tcp_cntxt.rcv_wscale; in i40iw_create_cm_node()
3308 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-v4.19/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h983 u32 snd_wscale; member
Dcm.c632 flowc->mnemval[8].val = cpu_to_be32(ep->snd_wscale); in send_flowc()
1197 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in act_establish()
2637 ep->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in pass_establish()
3811 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()