diff options
author | Yoshifumi Nishida <nishida@csl.sony.co.jp> | 2005-08-09 20:15:35 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 15:49:55 -0700 |
commit | 95b81ef794278c835b321f6376b0522cd5df59b7 (patch) | |
tree | c2163130b2a2e1bc8ced9ee70b4c87fcbe7cdf8e /net/dccp/dccp.h | |
parent | a019d6fe2b9da68ea4ba6cf3c4e86fc1dbf554c3 (diff) | |
download | linux-3.10-95b81ef794278c835b321f6376b0522cd5df59b7.tar.gz linux-3.10-95b81ef794278c835b321f6376b0522cd5df59b7.tar.bz2 linux-3.10-95b81ef794278c835b321f6376b0522cd5df59b7.zip |
[DCCP]: Fix checksum routines
Signed-off-by: Yoshifumi Nishida <nishida@csl.sony.co.jp>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r-- | net/dccp/dccp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h index fb83454102c..55b690ab61a 100644 --- a/net/dccp/dccp.h +++ b/net/dccp/dccp.h @@ -242,7 +242,8 @@ extern int dccp_setsockopt(struct sock *sk, int level, int optname, char *optval, int optlen); extern void dccp_shutdown(struct sock *sk, int how); -extern int dccp_v4_checksum(struct sk_buff *skb); +extern int dccp_v4_checksum(const struct sk_buff *skb, + const u32 saddr, const u32 daddr); extern int dccp_v4_send_reset(struct sock *sk, enum dccp_reset_codes code); extern void dccp_send_close(struct sock *sk); |