projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ipv4: Update parameters for csum_tcpudp_magic to their original types
[cascardo/linux.git]
/
arch
/
alpha
/
include
/
asm
/
checksum.h
diff --git
a/arch/alpha/include/asm/checksum.h
b/arch/alpha/include/asm/checksum.h
index
d3854bb
..
cba34b1
100644
(file)
--- a/
arch/alpha/include/asm/checksum.h
+++ b/
arch/alpha/include/asm/checksum.h
@@
-13,14
+13,11
@@
extern __sum16 ip_fast_csum(const void *iph, unsigned int ihl);
* computes the checksum of the TCP/UDP pseudo-header
* returns a 16-bit checksum, already complemented
*/
* computes the checksum of the TCP/UDP pseudo-header
* returns a 16-bit checksum, already complemented
*/
-extern __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
- unsigned short len,
- unsigned short proto,
- __wsum sum);
+__sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
+ __u32 len, __u8 proto, __wsum sum);
__wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
__wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
- unsigned short len, unsigned short proto,
- __wsum sum);
+ __u32 len, __u8 proto, __wsum sum);
/*
* computes the checksum of a memory block at buff, length len,
/*
* computes the checksum of a memory block at buff, length len,