diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 4a99a8e39121..738b65f01e26 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -234,6 +234,7 @@ extern int sysctl_tcp_base_mss; | |||
234 | extern int sysctl_tcp_workaround_signed_windows; | 234 | extern int sysctl_tcp_workaround_signed_windows; |
235 | extern int sysctl_tcp_slow_start_after_idle; | 235 | extern int sysctl_tcp_slow_start_after_idle; |
236 | extern int sysctl_tcp_max_ssthresh; | 236 | extern int sysctl_tcp_max_ssthresh; |
237 | extern int sysctl_tcp_cookie_size; | ||
237 | 238 | ||
238 | extern atomic_t tcp_memory_allocated; | 239 | extern atomic_t tcp_memory_allocated; |
239 | extern struct percpu_counter tcp_sockets_allocated; | 240 | extern struct percpu_counter tcp_sockets_allocated; |
@@ -340,11 +341,6 @@ static inline void tcp_dec_quickack_mode(struct sock *sk, | |||
340 | 341 | ||
341 | extern void tcp_enter_quickack_mode(struct sock *sk); | 342 | extern void tcp_enter_quickack_mode(struct sock *sk); |
342 | 343 | ||
343 | static inline void tcp_clear_options(struct tcp_options_received *rx_opt) | ||
344 | { | ||
345 | rx_opt->tstamp_ok = rx_opt->sack_ok = rx_opt->wscale_ok = rx_opt->snd_wscale = 0; | ||
346 | } | ||
347 | |||
348 | #define TCP_ECN_OK 1 | 344 | #define TCP_ECN_OK 1 |
349 | #define TCP_ECN_QUEUE_CWR 2 | 345 | #define TCP_ECN_QUEUE_CWR 2 |
350 | #define TCP_ECN_DEMAND_CWR 4 | 346 | #define TCP_ECN_DEMAND_CWR 4 |