Home
last modified time | relevance | path

Searched refs:window_clamp (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dsyncookies.c183 req->window_clamp = rt->u.dst.window; in cookie_v4_check()
185 &req->rcv_wnd, &req->window_clamp, in cookie_v4_check()
Dtcp_output.c675 int full_space = min_t(int, tp->window_clamp, tcp_full_space(sk)); in __tcp_select_window()
1157 req->window_clamp = tp->window_clamp ? : dst->window; in tcp_make_synack()
1162 &req->window_clamp, in tcp_make_synack()
1203 if (!tp->window_clamp) in tcp_connect_init()
1204 tp->window_clamp = dst->window; in tcp_connect_init()
1212 &tp->window_clamp, in tcp_connect_init()
Dtcp_minisocks.c764 newtp->window_clamp = req->window_clamp; in tcp_create_openreq_child()
773 newtp->window_clamp = min(newtp->window_clamp, 65535U); in tcp_create_openreq_child()
Dtcp_input.c266 if (tp->rcv_ssthresh < tp->window_clamp && in tcp_grow_window()
280 tp->rcv_ssthresh = min(tp->rcv_ssthresh + incr, tp->window_clamp); in tcp_grow_window()
320 if (tp->window_clamp >= maxwin) { in tcp_init_buffer_space()
321 tp->window_clamp = maxwin; in tcp_init_buffer_space()
324 tp->window_clamp = max(maxwin-(maxwin>>sysctl_tcp_app_win), 4*tp->advmss); in tcp_init_buffer_space()
329 tp->window_clamp > 2*tp->advmss && in tcp_init_buffer_space()
330 tp->window_clamp + tp->advmss > maxwin) in tcp_init_buffer_space()
331 tp->window_clamp = max(2*tp->advmss, maxwin-tp->advmss); in tcp_init_buffer_space()
333 tp->rcv_ssthresh = min(tp->rcv_ssthresh, tp->window_clamp); in tcp_init_buffer_space()
377 tp->rcv_ssthresh = min(tp->window_clamp, 2U*tp->advmss); in tcp_clamp_window()
[all …]
Dtcp.c1324 if (2*rcv_window_now <= tp->window_clamp) { in cleanup_rbuf()
2382 tp->window_clamp = 0; in tcp_setsockopt()
2384 tp->window_clamp = val<SOCK_MIN_RCVBUF/2 ? in tcp_setsockopt()
2463 val = tp->window_clamp; in tcp_getsockopt()
/linux-2.4.37.9/include/net/
Dtcp.h543 __u32 window_clamp; /* window clamp at creation time */ member
1608 __u32 *window_clamp, in tcp_select_initial_window() argument
1615 if (*window_clamp == 0) in tcp_select_initial_window()
1616 (*window_clamp) = (65535 << 14); in tcp_select_initial_window()
1617 space = min(*window_clamp, space); in tcp_select_initial_window()
1659 (*window_clamp) = min(65535U << (*rcv_wscale), *window_clamp); in tcp_select_initial_window()
Dsock.h390 __u32 window_clamp; /* Maximal window to advertise */ member