tcp.h (ec66eda82d4b0c552bf40005d8f53b63b2b07de4) tcp.h (d635fbe27ebee0f4b845abe5e9620c9400785a5c)
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 1231 unchanged lines hidden (view full) ---

1240{
1241 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops;
1242 struct tcp_sock *tp = tcp_sk(sk);
1243 s32 delta;
1244
1245 if (!sysctl_tcp_slow_start_after_idle || tp->packets_out ||
1246 ca_ops->cong_control)
1247 return;
1/*
2 * INET An implementation of the TCP/IP protocol suite for the LINUX
3 * operating system. INET is implemented using the BSD Socket
4 * interface as the means of communication with the user level.
5 *
6 * Definitions for the TCP module.
7 *
8 * Version: @(#)tcp.h 1.0.5 05/23/93

--- 1231 unchanged lines hidden (view full) ---

1240{
1241 const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops;
1242 struct tcp_sock *tp = tcp_sk(sk);
1243 s32 delta;
1244
1245 if (!sysctl_tcp_slow_start_after_idle || tp->packets_out ||
1246 ca_ops->cong_control)
1247 return;
1248 delta = tcp_time_stamp - tp->lsndtime;
1248 delta = tcp_jiffies32 - tp->lsndtime;
1249 if (delta > inet_csk(sk)->icsk_rto)
1250 tcp_cwnd_restart(sk, delta);
1251}
1252
1253/* Determine a window scaling and initial window to offer. */
1254void tcp_select_initial_window(int __space, __u32 mss, __u32 *rcv_wnd,
1255 __u32 *window_clamp, int wscale_ok,
1256 __u8 *rcv_wscale, __u32 init_rcv_wnd);

--- 698 unchanged lines hidden ---
1249 if (delta > inet_csk(sk)->icsk_rto)
1250 tcp_cwnd_restart(sk, delta);
1251}
1252
1253/* Determine a window scaling and initial window to offer. */
1254void tcp_select_initial_window(int __space, __u32 mss, __u32 *rcv_wnd,
1255 __u32 *window_clamp, int wscale_ok,
1256 __u8 *rcv_wscale, __u32 init_rcv_wnd);

--- 698 unchanged lines hidden ---