···9999 */100100__wsum csum_partial_copy_nocheck(const void *src, void *dst,101101 int len, __wsum sum);102102+#define csum_partial_copy_nocheck csum_partial_copy_nocheck102103103104/*104105 * Fold a partial checksum without adding pseudo headers···115114116115 return (__force __sum16)~sum;117116}117117+#define csum_fold csum_fold118118119119/*120120 * This is a version of ip_compute_csum() optimized for IP headers,···154152155153 return csum_fold(csum);156154}155155+#define ip_fast_csum ip_fast_csum157156158157static inline __wsum csum_tcpudp_nofold(__be32 saddr,159158 __be32 daddr, unsigned short len, unsigned short proto,···197194198195 return sum;199196}197197+#define csum_tcpudp_nofold csum_tcpudp_nofold200198201199/*202200 * computes the checksum of the TCP/UDP pseudo-header···210206{211207 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));212208}209209+#define csum_tcpudp_magic csum_tcpudp_magic213210214211/*215212 * this routine is used for miscellaneous IP-like checksums, mainly···285280286281 return csum_fold(sum);287282}283283+284284+#include <asm-generic/checksum.h>288285289286#endif /* _ASM_CHECKSUM_H */