patch-1.3.15 linux/include/asm-i386/checksum.h
Next file: linux/include/asm-i386/dma.h
Previous file: linux/include/asm-alpha/dma.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue Aug 1 10:02:44 1995
- Orig file:
v1.3.14/linux/include/asm-i386/checksum.h
- Orig date:
Fri Jul 7 08:54:53 1995
diff -u --recursive --new-file v1.3.14/linux/include/asm-i386/checksum.h linux/include/asm-i386/checksum.h
@@ -13,7 +13,7 @@
*
* it's best to have buff aligned on a 32-bit boundary
*/
-unsigned int csum_partial(unsigned char * buff, int len, unsigned int sum);
+unsigned int csum_partial(const unsigned char * buff, int len, unsigned int sum);
/*
* the same as csum_partial, but copies from src while it
@@ -23,7 +23,7 @@
* better 64-bit) boundary
*/
-unsigned int csum_partial_copy( char *src, char *dst, int len, int sum);
+unsigned int csum_partial_copy( const char *src, char *dst, int len, int sum);
/*
@@ -33,7 +33,7 @@
* better 64-bit) boundary
*/
-unsigned int csum_partial_copy_fromuser( char *src, char *dst, int len, int sum);
+unsigned int csum_partial_copy_fromuser(const char *src, char *dst, int len, int sum);
/*
* This is a version of ip_compute_csum() optimized for IP headers,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this