summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2005-08-10 05:45:21 +0200
committerDavid S. Miller2005-08-30 00:56:03 +0200
commit64cf1e5d8b5f88d56509260e08fa0d8314277350 (patch)
tree1b2decb48c52d8f3f3abe04ffb8e0dca80f0747a /include
parent[TIMEWAIT]: Move inet_timewait_death_row routines to net/ipv4/inet_timewait_s... (diff)
downloadkernel-qcow2-linux-64cf1e5d8b5f88d56509260e08fa0d8314277350.tar.gz
kernel-qcow2-linux-64cf1e5d8b5f88d56509260e08fa0d8314277350.tar.xz
kernel-qcow2-linux-64cf1e5d8b5f88d56509260e08fa0d8314277350.zip
[DCCP]: Finish the TIMEWAIT minisock support
Using most of the infrastructure TCP uses, with a dccp_death_row, etc. As per my current interpretation of the draft what we have with this changeset seems to be all we need (or very close to it 8)). Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dccp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dccp.h b/include/linux/dccp.h
index 431d58923ba9..3dccdd5108b5 100644
--- a/include/linux/dccp.h
+++ b/include/linux/dccp.h
@@ -194,6 +194,7 @@ enum {
#include <linux/workqueue.h>
#include <net/inet_connection_sock.h>
+#include <net/inet_timewait_sock.h>
#include <net/sock.h>
#include <net/tcp_states.h>
#include <net/tcp.h>
@@ -354,6 +355,8 @@ static inline struct dccp_request_sock *dccp_rsk(const struct request_sock *req)
return (struct dccp_request_sock *)req;
}
+extern struct inet_timewait_death_row dccp_death_row;
+
/* Read about the ECN nonce to see why it is 253 */
#define DCCP_MAX_ACK_VECTOR_LEN 253