Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
__wsum | csum_partial (const void *buff, int len, __wsum sum) |
EXPORT_SYMBOL (csum_partial) | |
__sum16 | ip_compute_csum (const void *buff, int len) |
EXPORT_SYMBOL (ip_compute_csum) | |
__wsum | csum_partial_copy_from_user (const void __user *src, void *dst, int len, __wsum sum, int *csum_err) |
EXPORT_SYMBOL (csum_partial_copy_from_user) | |
__wsum | csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) |
EXPORT_SYMBOL (csum_partial_copy_nocheck) | |
csum_partial - Compute an internet checksum. : buffer to be checksummed : length of buffer. : initial sum to be added in (32bit unfolded)
Returns the 32bit unfolded internet checksum of the buffer. Before filling it in it needs to be csum_fold()'ed. buff should be aligned to a 64bit boundary if possible.
Definition at line 107 of file checksum.c.
__wsum csum_partial_copy_from_user | ( | const void __user * | src, |
void * | dst, | ||
int | len, | ||
__wsum | sum, | ||
int * | csum_err | ||
) |
Definition at line 135 of file checksum.c.
Definition at line 160 of file checksum.c.
EXPORT_SYMBOL | ( | csum_partial | ) |
EXPORT_SYMBOL | ( | ip_compute_csum | ) |
EXPORT_SYMBOL | ( | csum_partial_copy_from_user | ) |
EXPORT_SYMBOL | ( | csum_partial_copy_nocheck | ) |