aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h6
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;
234extern int sysctl_tcp_workaround_signed_windows; 234extern int sysctl_tcp_workaround_signed_windows;
235extern int sysctl_tcp_slow_start_after_idle; 235extern int sysctl_tcp_slow_start_after_idle;
236extern int sysctl_tcp_max_ssthresh; 236extern int sysctl_tcp_max_ssthresh;
237extern int sysctl_tcp_cookie_size;
237 238
238extern atomic_t tcp_memory_allocated; 239extern atomic_t tcp_memory_allocated;
239extern struct percpu_counter tcp_sockets_allocated; 240extern struct percpu_counter tcp_sockets_allocated;
@@ -340,11 +341,6 @@ static inline void tcp_dec_quickack_mode(struct sock *sk,
340 341
341extern void tcp_enter_quickack_mode(struct sock *sk); 342extern void tcp_enter_quickack_mode(struct sock *sk);
342 343
343static 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