aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/minisocks.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-12-14 02:24:16 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-03 16:10:50 -0500
commitf21e68caa0ddffddf98a1e729e734a470957b6ec (patch)
tree52b372d10cbacd066867ba1c918f48b9fdaad950 /net/dccp/minisocks.c
parent34ca6860810342441f801226b19ae6c9e0ecb34f (diff)
[DCCP]: Prepare the AF agnostic core for the introduction of DCCPv6
Basically exports a similar set of functions as the one exported by the non-AF specific TCP code. In the process moved some non-AF specific code from dccp_v4_connect to dccp_connect_init and moved the checksum verification from dccp_invalid_packet to dccp_v4_rcv, so as to use it in dccp_v6_rcv too. Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/minisocks.c')
-rw-r--r--net/dccp/minisocks.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c
index c7ff80cf53a0..5c767b5e9a52 100644
--- a/net/dccp/minisocks.c
+++ b/net/dccp/minisocks.c
@@ -40,6 +40,8 @@ struct inet_timewait_death_row dccp_death_row = {
40 (unsigned long)&dccp_death_row), 40 (unsigned long)&dccp_death_row),
41}; 41};
42 42
43EXPORT_SYMBOL_GPL(dccp_death_row);
44
43void dccp_time_wait(struct sock *sk, int state, int timeo) 45void dccp_time_wait(struct sock *sk, int state, int timeo)
44{ 46{
45 struct inet_timewait_sock *tw = NULL; 47 struct inet_timewait_sock *tw = NULL;
@@ -170,6 +172,8 @@ out_free:
170 return newsk; 172 return newsk;
171} 173}
172 174
175EXPORT_SYMBOL_GPL(dccp_create_openreq_child);
176
173/* 177/*
174 * Process an incoming packet for RESPOND sockets represented 178 * Process an incoming packet for RESPOND sockets represented
175 * as an request_sock. 179 * as an request_sock.
@@ -236,6 +240,8 @@ drop:
236 goto out; 240 goto out;
237} 241}
238 242
243EXPORT_SYMBOL_GPL(dccp_check_req);
244
239/* 245/*
240 * Queue segment on the new socket if the new socket is active, 246 * Queue segment on the new socket if the new socket is active,
241 * otherwise we just shortcircuit this and continue with 247 * otherwise we just shortcircuit this and continue with
@@ -266,3 +272,5 @@ int dccp_child_process(struct sock *parent, struct sock *child,
266 sock_put(child); 272 sock_put(child);
267 return ret; 273 return ret;
268} 274}
275
276EXPORT_SYMBOL_GPL(dccp_child_process);