hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/asm-generic/checksum.h
....@@ -16,29 +16,6 @@
1616 */
1717 extern __wsum csum_partial(const void *buff, int len, __wsum sum);
1818
19
-/*
20
- * the same as csum_partial, but copies from src while it
21
- * checksums
22
- *
23
- * here even more important to align src and dst on a 32-bit (or even
24
- * better 64-bit) boundary
25
- */
26
-extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum);
27
-
28
-/*
29
- * the same as csum_partial_copy, but copies from user space.
30
- *
31
- * here even more important to align src and dst on a 32-bit (or even
32
- * better 64-bit) boundary
33
- */
34
-extern __wsum csum_partial_copy_from_user(const void __user *src, void *dst,
35
- int len, __wsum sum, int *csum_err);
36
-
37
-#ifndef csum_partial_copy_nocheck
38
-#define csum_partial_copy_nocheck(src, dst, len, sum) \
39
- csum_partial_copy((src), (dst), (len), (sum))
40
-#endif
41
-
4219 #ifndef ip_fast_csum
4320 /*
4421 * This is a version of ip_compute_csum() optimized for IP headers,