patch-2.1.99 linux/include/asm-alpha/checksum.h

Next file: linux/include/asm-i386/bugs.h
Previous file: linux/fs/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.98/linux/include/asm-alpha/checksum.h linux/include/asm-alpha/checksum.h
@@ -18,6 +18,10 @@
 					   unsigned short proto,
 					   unsigned int sum);
 
+unsigned int csum_tcpudp_nofold(unsigned long saddr, unsigned long daddr,
+				unsigned short len, unsigned short proto,
+				unsigned int sum);
+
 /*
  * computes the checksum of a memory block at buff, length len,
  * and adds in "sum" (32-bit)
@@ -54,6 +58,9 @@
  * but continues and zeros the rest of the buffer.
  */
 unsigned int csum_partial_copy_from_user(const char *src, char *dst, int len, unsigned int sum, int *errp);
+
+unsigned int csum_partial_copy_nocheck(const char *src, char *dst, int len, unsigned int sum);
+
 
 /*
  * this routine is used for miscellaneous IP-like checksums, mainly

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov