patch-2.3.38 linux/include/asm-sparc64/checksum.h
Next file: linux/include/asm-sparc64/fcntl.h
Previous file: linux/include/asm-sparc/unistd.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Jan 6 16:17:19 2000
- Orig file:
v2.3.37/linux/include/asm-sparc64/checksum.h
- Orig date:
Mon Aug 2 22:07:16 1999
diff -u --recursive --new-file v2.3.37/linux/include/asm-sparc64/checksum.h linux/include/asm-sparc64/checksum.h
@@ -1,4 +1,4 @@
-/* $Id: checksum.h,v 1.13 1999/07/30 09:31:13 davem Exp $ */
+/* $Id: checksum.h,v 1.14 2000/01/05 21:27:42 davem Exp $ */
#ifndef __SPARC64_CHECKSUM_H
#define __SPARC64_CHECKSUM_H
@@ -29,7 +29,7 @@
*
* it's best to have buff aligned on a 32-bit boundary
*/
-extern unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum);
+extern unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
/* the same as csum_partial, but copies from user space while it
* checksums
@@ -67,7 +67,7 @@
}
#if 0
-/* Not implemented, but nobody uses it yet... */
+/* XXX should implement this now... -DaveM */
extern __inline__ unsigned int
csum_partial_copy_to_user(const char *src, char *dst, int len,
unsigned int sum, int *err)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)