*/
__wsum csum_partial_copy_nocheck(const void *src, void *dst,
int len, __wsum sum);
+#define csum_partial_copy_nocheck csum_partial_copy_nocheck
/*
* Fold a partial checksum without adding pseudo headers
return (__force __sum16)~sum;
}
+#define csum_fold csum_fold
/*
* This is a version of ip_compute_csum() optimized for IP headers,
return csum_fold(csum);
}
+#define ip_fast_csum ip_fast_csum
static inline __wsum csum_tcpudp_nofold(__be32 saddr,
__be32 daddr, unsigned short len, unsigned short proto,
return sum;
}
+#define csum_tcpudp_nofold csum_tcpudp_nofold
/*
* computes the checksum of the TCP/UDP pseudo-header
{
return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum));
}
+#define csum_tcpudp_magic csum_tcpudp_magic
/*
* this routine is used for miscellaneous IP-like checksums, mainly
return csum_fold(sum);
}
+#include <asm-generic/checksum.h>
+
#endif /* _ASM_CHECKSUM_H */