1
2
3
4
5
6 #ifndef _ASM_CHECKSUM_H
7 #define _ASM_CHECKSUM_H
8
9 #define do_csum do_csum
10 unsigned int do_csum(const void *voidptr, int len);
11
12
13
14
15
16
17
18
19 #define csum_partial_copy_nocheck csum_partial_copy_nocheck
20 __wsum csum_partial_copy_nocheck(const void *src, void *dst,
21 int len, __wsum sum);
22
23
24
25
26
27 #define csum_tcpudp_nofold csum_tcpudp_nofold
28 __wsum csum_tcpudp_nofold(__be32 saddr, __be32 daddr,
29 __u32 len, __u8 proto, __wsum sum);
30
31 #define csum_tcpudp_magic csum_tcpudp_magic
32 __sum16 csum_tcpudp_magic(__be32 saddr, __be32 daddr,
33 __u32 len, __u8 proto, __wsum sum);
34
35 #include <asm-generic/checksum.h>
36
37 #endif