Home
last modified time | relevance | path

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

/net/ipv6/
Dsyncookies.c139 int full_space, mss; in cookie_v6_check() local
248 full_space = tcp_full_space(sk); in cookie_v6_check()
250 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in cookie_v6_check()
251 req->rsk_window_clamp = full_space; in cookie_v6_check()
253 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v6_check()
/net/ipv4/
Dsyncookies.c332 int full_space, mss; in cookie_v4_check() local
431 full_space = tcp_full_space(sk); in cookie_v4_check()
433 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in cookie_v4_check()
434 req->rsk_window_clamp = full_space; in cookie_v4_check()
436 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v4_check()
Dtcp_minisocks.c366 int full_space = tcp_full_space(sk_listener); in tcp_openreq_init_rwin() local
379 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in tcp_openreq_init_rwin()
380 req->rsk_window_clamp = full_space; in tcp_openreq_init_rwin()
385 else if (full_space < rcv_wnd * mss) in tcp_openreq_init_rwin()
386 full_space = rcv_wnd * mss; in tcp_openreq_init_rwin()
389 tcp_select_initial_window(sk_listener, full_space, in tcp_openreq_init_rwin()
Dtcp_output.c2972 int full_space, window; in __tcp_select_window() local
2977 full_space = min_t(int, tp->window_clamp, allowed_space); in __tcp_select_window()
2979 if (unlikely(mss > full_space)) { in __tcp_select_window()
2980 mss = full_space; in __tcp_select_window()
2984 if (free_space < (full_space >> 1)) { in __tcp_select_window()
3033 else if (mss == full_space && in __tcp_select_window()
3034 free_space > window + (full_space >> 1)) in __tcp_select_window()
/net/mptcp/
Dsubflow.c1263 void mptcp_space(const struct sock *ssk, int *space, int *full_space) in mptcp_space() argument
1269 *full_space = tcp_full_space(sk); in mptcp_space()