Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv6/
Dsyncookies.c139 int full_space, mss; in cookie_v6_check() local
247 full_space = tcp_full_space(sk); in cookie_v6_check()
249 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in cookie_v6_check()
250 req->rsk_window_clamp = full_space; in cookie_v6_check()
252 tcp_select_initial_window(sk, full_space, req->mss, in cookie_v6_check()
/kernel/linux/linux-5.10/net/ipv4/
Dsyncookies.c338 int full_space, mss; in cookie_v4_check() local
437 full_space = tcp_full_space(sk); in cookie_v4_check()
439 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in cookie_v4_check()
440 req->rsk_window_clamp = full_space; in cookie_v4_check()
442 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.c2952 int full_space, window; in __tcp_select_window() local
2957 full_space = min_t(int, tp->window_clamp, allowed_space); in __tcp_select_window()
2959 if (unlikely(mss > full_space)) { in __tcp_select_window()
2960 mss = full_space; in __tcp_select_window()
2964 if (free_space < (full_space >> 1)) { in __tcp_select_window()
3013 else if (mss == full_space && in __tcp_select_window()
3014 free_space > window + (full_space >> 1)) in __tcp_select_window()
/kernel/linux/linux-5.10/include/net/
Dmptcp.h78 void mptcp_space(const struct sock *ssk, int *space, int *full_space);
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip_output.c176 int full_space = min_t(int, tp->window_clamp, allowed_space); /* Total receive cache */ in __nip_tcp_select_window() local
180 if (unlikely(mss > full_space)) { in __nip_tcp_select_window()
181 mss = full_space; in __nip_tcp_select_window()
187 if (free_space < (full_space >> 1)) { in __nip_tcp_select_window()
193 allowed_space, full_space, free_space, mss); in __nip_tcp_select_window()
Dtcp_nip_input.c1105 int full_space = tcp_full_space(sk_listener); in tcp_nip_openreq_init_rwin() local
1118 (req->rsk_window_clamp > full_space || req->rsk_window_clamp == 0)) in tcp_nip_openreq_init_rwin()
1119 req->rsk_window_clamp = full_space; in tcp_nip_openreq_init_rwin()
1122 tcp_select_initial_window(sk_listener, full_space, in tcp_nip_openreq_init_rwin()
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c994 void mptcp_space(const struct sock *ssk, int *space, int *full_space) in mptcp_space() argument
1000 *full_space = tcp_full_space(sk); in mptcp_space()