Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dsyncookies.c68 options = ireq->wscale_ok ? ireq->snd_wscale : TS_OPT_WSCALE_MASK; in cookie_init_timestamp()
256 tcp_opt->snd_wscale = options & TS_OPT_WSCALE_MASK; in cookie_timestamp_decode()
383 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v4_check()
Dtcp_minisocks.c547 newtp->rx_opt.snd_wscale = ireq->snd_wscale; in tcp_create_openreq_child()
550 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
553 newtp->snd_wnd = ntohs(tcp_hdr(skb)->window) << newtp->rx_opt.snd_wscale; in tcp_create_openreq_child()
Dtcp_input.c3578 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
4109 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
4111 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
4114 snd_wscale, in tcp_parse_options()
4116 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4118 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4304 !tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) && in tcp_disordered_ack()
6127 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6313 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6616 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
Dtcp.c3171 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
3174 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3177 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
3776 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/linux-6.6.21/net/ipv6/
Dsyncookies.c208 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()
/linux-6.6.21/include/linux/
Dtcp.h123 snd_wscale : 4, /* Window scaling received from sender */ member
135 rx_opt->wscale_ok = rx_opt->snd_wscale = 0; in tcp_clear_options()
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h91 #define SND_WSCALE(tp) ((tp)->rx_opt.snd_wscale)
Dchtls_cm.c155 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()
/linux-6.6.21/drivers/target/iscsi/cxgbit/
Dcxgbit.h241 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()
1650 csk->snd_wscale = TCPOPT_SND_WSCALE_G(tcp_opt); in cxgbit_pass_establish()
/linux-6.6.21/include/net/
Dinet_sock.h82 u16 snd_wscale : 4, member
Dtcp.h712 __tcp_fast_path_on(tp, tp->snd_wnd >> tp->rx_opt.snd_wscale); in tcp_fast_path_on()
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dcm.h233 u8 snd_wscale; member
Dcm.c723 cm_node->tcp_cntxt.snd_wscale = in irdma_process_options()
769 << cm_node->tcp_cntxt.snd_wscale; in irdma_handle_tcp_options()
3334 tcp_info->snd_wscale = cm_node->tcp_cntxt.snd_wscale; in irdma_init_tcp_ctx()
Dtype.h903 u8 snd_wscale; member
Dctrl.c1002 FIELD_PREP(IRDMAQPC_SNDSCALE, tcp->snd_wscale); in irdma_sc_qp_setctx()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h899 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()
3985 req->tcpopt.wsf = tmp_opt.snd_wscale; in build_cpl_pass_accept_req()