CSUM_PARTIAL_COPY_FROM_USER

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

csum_partial_copy_from_user - Copy and checksum from user space.  

SYNOPSIS

"SYNOPSIS"

unsigned int csum_partial_copy_from_user (const unsigned char __user * src, unsigned char * dst, int len, unsigned int isum, int * errp);  

ARGUMENTS

src
source address (user space)
dst
destination address
len
number of bytes to be copied.
isum
initial sum that is added into the result (32bit unfolded)
errp
set to -EFAULT for an bad source address.
 

DESCRIPTION

Returns an 32bit unfolded checksum of the buffer. src and dst are best aligned to 64bits.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:02 GMT, October 09, 2005