Home
last modified time | relevance | path

Searched refs:rcv_wscale (Results 1 – 8 of 8) sorted by relevance

/net/ipv4/
Dtcp_minisocks.c270 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait()
368 __u8 rcv_wscale; in tcp_openreq_init_rwin() local
394 &rcv_wscale, in tcp_openreq_init_rwin()
396 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin()
517 newtp->rx_opt.rcv_wscale = ireq->rcv_wscale; in tcp_create_openreq_child()
519 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
Dsyncookies.c334 __u8 rcv_wscale; in cookie_v4_check() local
438 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
441 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
Dtcp_output.c101 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq()
207 int wscale_ok, __u8 *rcv_wscale, in tcp_select_initial_window() argument
237 *rcv_wscale = 0; in tcp_select_initial_window()
243 *rcv_wscale = clamp_t(int, ilog2(space) - 15, in tcp_select_initial_window()
247 (*window_clamp) = min_t(__u32, U16_MAX << (*rcv_wscale), *window_clamp); in tcp_select_initial_window()
275 new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); in tcp_select_window()
283 if (!tp->rx_opt.rcv_wscale && in tcp_select_window()
287 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in tcp_select_window()
290 new_win >>= tp->rx_opt.rcv_wscale; in tcp_select_window()
795 opts->ws = tp->rx_opt.rcv_wscale; in tcp_syn_options()
[all …]
Dtcp.c2948 u16 rcv_wscale = opt.opt_val >> 16; in tcp_repair_options_est() local
2950 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
2954 tp->rx_opt.rcv_wscale = rcv_wscale; in tcp_repair_options_est()
3548 info->tcpi_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_get_info()
Dtcp_ipv4.c952 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v4_reqsk_send_ack()
Dtcp_input.c6212 tp->rx_opt.snd_wscale = tp->rx_opt.rcv_wscale = 0; in tcp_rcv_synsent_state_process()
/net/ipv6/
Dsyncookies.c141 __u8 rcv_wscale; in cookie_v6_check() local
255 ireq->wscale_ok, &rcv_wscale, in cookie_v6_check()
258 ireq->rcv_wscale = rcv_wscale; in cookie_v6_check()
Dtcp_ipv6.c1149 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v6_reqsk_send_ack()