CSUM_PARTIAL_COPY_TO_USER

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

 

NAME

csum_partial_copy_to_user - Copy and checksum to user space.  

SYNOPSIS

"SYNOPSIS"

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

ARGUMENTS

src
source address
dst
destination address (user space)
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 destination 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