aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/inet_connection_sock.h7
-rw-r--r--include/net/request_sock.h4
-rw-r--r--include/net/tcp.h6
3 files changed, 7 insertions, 10 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index 692825fc8135..bec19d5cff26 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -239,6 +239,13 @@ static inline void inet_csk_reqsk_queue_drop(struct sock *sk,
239 reqsk_free(req); 239 reqsk_free(req);
240} 240}
241 241
242extern void inet_csk_reqsk_queue_prune(struct sock *parent,
243 const unsigned long interval,
244 const unsigned long timeout,
245 const unsigned long max_rto);
246
247extern void inet_csk_destroy_sock(struct sock *sk);
248extern int inet_csk_listen_start(struct sock *sk, const int nr_table_entries);
242extern void inet_csk_listen_stop(struct sock *sk); 249extern void inet_csk_listen_stop(struct sock *sk);
243 250
244#endif /* _INET_CONNECTION_SOCK_H */ 251#endif /* _INET_CONNECTION_SOCK_H */
diff --git a/include/net/request_sock.h b/include/net/request_sock.h
index 447d287a38fd..b52cc52ffe39 100644
--- a/include/net/request_sock.h
+++ b/include/net/request_sock.h
@@ -258,8 +258,4 @@ static inline void reqsk_queue_hash_req(struct request_sock_queue *queue,
258 write_unlock(&queue->syn_wait_lock); 258 write_unlock(&queue->syn_wait_lock);
259} 259}
260 260
261extern void reqsk_queue_prune(struct request_sock_queue *queue, struct sock *parent,
262 const unsigned long interval, const unsigned long timeout,
263 const unsigned long max_rto, int max_retries);
264
265#endif /* _REQUEST_SOCK_H */ 261#endif /* _REQUEST_SOCK_H */
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 2423f059b62b..077db859ae0d 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -423,9 +423,6 @@ extern int tcp_recvmsg(struct kiocb *iocb, struct sock *sk,
423 size_t len, int nonblock, 423 size_t len, int nonblock,
424 int flags, int *addr_len); 424 int flags, int *addr_len);
425 425
426extern int inet_csk_listen_start(struct sock *sk,
427 const int nr_table_entries);
428
429extern void tcp_parse_options(struct sk_buff *skb, 426extern void tcp_parse_options(struct sk_buff *skb,
430 struct tcp_options_received *opt_rx, 427 struct tcp_options_received *opt_rx,
431 int estab); 428 int estab);
@@ -861,9 +858,6 @@ static __inline__ void tcp_update_wl(struct tcp_sock *tp, u32 ack, u32 seq)
861 tp->snd_wl1 = seq; 858 tp->snd_wl1 = seq;
862} 859}
863 860
864extern void inet_csk_destroy_sock(struct sock *sk);
865
866
867/* 861/*
868 * Calculate(/check) TCP checksum 862 * Calculate(/check) TCP checksum
869 */ 863 */