summaryrefslogtreecommitdiffstats
path: root/net/dccp/input.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2005-12-14 08:24:16 +0100
committerDavid S. Miller2006-01-03 22:10:50 +0100
commitf21e68caa0ddffddf98a1e729e734a470957b6ec (patch)
tree52b372d10cbacd066867ba1c918f48b9fdaad950 /net/dccp/input.c
parent[DCCP]: Just rename dccp_v4_prot to dccp_prot (diff)
downloadkernel-qcow2-linux-f21e68caa0ddffddf98a1e729e734a470957b6ec.tar.gz
kernel-qcow2-linux-f21e68caa0ddffddf98a1e729e734a470957b6ec.tar.xz
kernel-qcow2-linux-f21e68caa0ddffddf98a1e729e734a470957b6ec.zip
[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/input.c')
-rw-r--r--net/dccp/input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/dccp/input.c b/net/dccp/input.c
index c81488fa293e..9a724ff2a622 100644
--- a/net/dccp/input.c
+++ b/net/dccp/input.c
@@ -250,6 +250,8 @@ discard:
return 0;
}
+EXPORT_SYMBOL_GPL(dccp_rcv_established);
+
static int dccp_rcv_request_sent_state_process(struct sock *sk,
struct sk_buff *skb,
const struct dccp_hdr *dh,
@@ -567,3 +569,5 @@ discard:
}
return 0;
}
+
+EXPORT_SYMBOL_GPL(dccp_rcv_state_process);