diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-14 02:24:16 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:10:50 -0500 |
commit | f21e68caa0ddffddf98a1e729e734a470957b6ec (patch) | |
tree | 52b372d10cbacd066867ba1c918f48b9fdaad950 /net/dccp/input.c | |
parent | 34ca6860810342441f801226b19ae6c9e0ecb34f (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/input.c')
-rw-r--r-- | net/dccp/input.c | 4 |
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: | |||
250 | return 0; | 250 | return 0; |
251 | } | 251 | } |
252 | 252 | ||
253 | EXPORT_SYMBOL_GPL(dccp_rcv_established); | ||
254 | |||
253 | static int dccp_rcv_request_sent_state_process(struct sock *sk, | 255 | static int dccp_rcv_request_sent_state_process(struct sock *sk, |
254 | struct sk_buff *skb, | 256 | struct sk_buff *skb, |
255 | const struct dccp_hdr *dh, | 257 | const struct dccp_hdr *dh, |
@@ -567,3 +569,5 @@ discard: | |||
567 | } | 569 | } |
568 | return 0; | 570 | return 0; |
569 | } | 571 | } |
572 | |||
573 | EXPORT_SYMBOL_GPL(dccp_rcv_state_process); | ||