aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tcp.h')
-rw-r--r--include/linux/tcp.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/tcp.h b/include/linux/tcp.h
index 4e37c71ecd74..bc35e4709e8e 100644
--- a/include/linux/tcp.h
+++ b/include/linux/tcp.h
@@ -366,11 +366,6 @@ static inline bool tcp_passive_fastopen(const struct sock *sk)
366 tcp_sk(sk)->fastopen_rsk != NULL); 366 tcp_sk(sk)->fastopen_rsk != NULL);
367} 367}
368 368
369static inline bool fastopen_cookie_present(struct tcp_fastopen_cookie *foc)
370{
371 return foc->len != -1;
372}
373
374extern void tcp_sock_destruct(struct sock *sk); 369extern void tcp_sock_destruct(struct sock *sk);
375 370
376static inline int fastopen_init_queue(struct sock *sk, int backlog) 371static inline int fastopen_init_queue(struct sock *sk, int backlog)