Lines Matching refs:sum
17 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
26 extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum);
35 int len, __wsum sum, int *csum_err);
38 #define csum_partial_copy_nocheck(src, dst, len, sum) \ argument
39 csum_partial_copy((src), (dst), (len), (sum))
56 u32 sum = (__force u32)csum; in csum_fold() local
57 sum = (sum & 0xffff) + (sum >> 16); in csum_fold()
58 sum = (sum & 0xffff) + (sum >> 16); in csum_fold()
59 return (__force __sum16)~sum; in csum_fold()
70 __u8 proto, __wsum sum);
76 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
78 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()