diff options
author | Arnaldo Carvalho de Melo <acme@ghostprotocols.net> | 2005-08-09 23:15:09 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:49:50 -0400 |
commit | a019d6fe2b9da68ea4ba6cf3c4e86fc1dbf554c3 (patch) | |
tree | f82f0523c313228d64998fac30790edcfd0785c3 /include/net/tcp.h | |
parent | 7c657876b63cb1d8a2ec06f8fc6c37bb8412e66c (diff) |
[ICSK]: Move generalised functions from tcp to inet_connection_sock
This also improves reqsk_queue_prune and renames it to
inet_csk_reqsk_queue_prune, as it deals with both inet_connection_sock
and inet_request_sock objects, not just with request_sock ones thus
belonging to inet_request_sock.
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 6 |
1 files changed, 0 insertions, 6 deletions
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 | ||
426 | extern int inet_csk_listen_start(struct sock *sk, | ||
427 | const int nr_table_entries); | ||
428 | |||
429 | extern void tcp_parse_options(struct sk_buff *skb, | 426 | extern 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 | ||
864 | extern void inet_csk_destroy_sock(struct sock *sk); | ||
865 | |||
866 | |||
867 | /* | 861 | /* |
868 | * Calculate(/check) TCP checksum | 862 | * Calculate(/check) TCP checksum |
869 | */ | 863 | */ |