Home
last modified time | relevance | path

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

/net/ipv4/
Dtcp_minisocks.c296 tw->tw_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_time_wait()
393 __u8 rcv_wscale; in tcp_openreq_init_rwin() local
419 &rcv_wscale, in tcp_openreq_init_rwin()
421 ireq->rcv_wscale = rcv_wscale; in tcp_openreq_init_rwin()
543 newtp->rx_opt.rcv_wscale = ireq->rcv_wscale; in tcp_create_openreq_child()
545 newtp->rx_opt.snd_wscale = newtp->rx_opt.rcv_wscale = 0; in tcp_create_openreq_child()
Dsyncookies.c332 __u8 rcv_wscale; in cookie_v4_check() local
437 ireq->wscale_ok, &rcv_wscale, in cookie_v4_check()
440 ireq->rcv_wscale = rcv_wscale; in cookie_v4_check()
Dtcp_output.c102 ((tp->snd_nxt - tcp_wnd_end(tp)) < (1 << tp->rx_opt.rcv_wscale)))) in tcp_acceptable_seq()
208 int wscale_ok, __u8 *rcv_wscale, in tcp_select_initial_window() argument
239 *rcv_wscale = 0; in tcp_select_initial_window()
245 *rcv_wscale = clamp_t(int, ilog2(space) - 15, in tcp_select_initial_window()
250 min_t(__u32, U16_MAX << (*rcv_wscale), window_clamp)); in tcp_select_initial_window()
286 if (!READ_ONCE(net->ipv4.sysctl_tcp_shrink_window) || !tp->rx_opt.rcv_wscale) { in tcp_select_window()
290 new_win = ALIGN(cur_win, 1 << tp->rx_opt.rcv_wscale); in tcp_select_window()
302 if (!tp->rx_opt.rcv_wscale && in tcp_select_window()
306 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in tcp_select_window()
309 new_win >>= tp->rx_opt.rcv_wscale; in tcp_select_window()
[all …]
Dtcp.c3190 u16 rcv_wscale = opt.opt_val >> 16; in tcp_repair_options_est() local
3192 if (snd_wscale > TCP_MAX_WSCALE || rcv_wscale > TCP_MAX_WSCALE) in tcp_repair_options_est()
3196 tp->rx_opt.rcv_wscale = rcv_wscale; in tcp_repair_options_est()
3795 info->tcpi_rcv_wscale = tp->rx_opt.rcv_wscale; in tcp_get_info()
Dtcp_ipv4.c996 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v4_reqsk_send_ack()
Dtcp_input.c6369 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.c1126 req->rsk_rcv_wnd >> inet_rsk(req)->rcv_wscale, in tcp_v6_reqsk_send_ack()
/net/mptcp/
Doptions.c1296 new_win = min(new_win, 65535U) << tp->rx_opt.rcv_wscale; in mptcp_set_rwin()
1297 if (!tp->rx_opt.rcv_wscale && in mptcp_set_rwin()
1301 new_win = min(new_win, (65535U << tp->rx_opt.rcv_wscale)); in mptcp_set_rwin()
1304 new_win >>= tp->rx_opt.rcv_wscale; in mptcp_set_rwin()