Home
last modified time | relevance | path

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

/net/ipv4/
Dsyncookies.c70 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()
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.c3568 nwin <<= tp->rx_opt.snd_wscale; in tcp_ack_update_window()
4096 __u8 snd_wscale = *(__u8 *)ptr; in tcp_parse_options() local
4098 if (snd_wscale > TCP_MAX_WSCALE) { in tcp_parse_options()
4101 snd_wscale, in tcp_parse_options()
4103 snd_wscale = TCP_MAX_WSCALE; in tcp_parse_options()
4105 opt_rx->snd_wscale = snd_wscale; in tcp_parse_options()
4292 !tcp_may_update_window(tp, ack, seq, ntohs(th->window) << tp->rx_opt.snd_wscale) && in tcp_disordered_ack()
6057 if (!tp->rx_opt.snd_wscale) in tcp_finish_connect()
6239 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
6534 tp->snd_wnd = ntohs(th->window) << tp->rx_opt.snd_wscale; in tcp_rcv_state_process()
[all …]
Dtcp.c3167 u16 snd_wscale = opt.opt_val & 0xFFFF; in tcp_repair_options_est() local
3170 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3173 tp->rx_opt.snd_wscale = snd_wscale; in tcp_repair_options_est()
3775 info->tcpi_snd_wscale = tp->rx_opt.snd_wscale; in tcp_get_info()
/net/ipv6/
Dsyncookies.c208 ireq->snd_wscale = tcp_opt.snd_wscale; in cookie_v6_check()