|
Linux Kernel
3.7.1
|
#include <asm/checksum.h>#include <linux/module.h>Go to the source code of this file.
Functions | |
| __wsum | csum_partial_copy_from_user (const void __user *src, void *dst, int len, __wsum isum, int *errp) |
| EXPORT_SYMBOL (csum_partial_copy_from_user) | |
| __wsum | csum_partial_copy_to_user (const void *src, void __user *dst, int len, __wsum isum, int *errp) |
| EXPORT_SYMBOL (csum_partial_copy_to_user) | |
| __wsum | csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) |
| EXPORT_SYMBOL (csum_partial_copy_nocheck) | |
| __sum16 | csum_ipv6_magic (const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, unsigned short proto, __wsum sum) |
| EXPORT_SYMBOL (csum_ipv6_magic) | |
| __sum16 csum_ipv6_magic | ( | const struct in6_addr * | saddr, |
| const struct in6_addr * | daddr, | ||
| __u32 | len, | ||
| unsigned short | proto, | ||
| __wsum | sum | ||
| ) |
Definition at line 129 of file csum-wrappers_64.c.
| __wsum csum_partial_copy_from_user | ( | const void __user * | src, |
| void * | dst, | ||
| int | len, | ||
| __wsum | isum, | ||
| int * | errp | ||
| ) |
csum_partial_copy_from_user - Copy and checksum from user space. : source address (user space) : destination address : number of bytes to be copied. : initial sum that is added into the result (32bit unfolded) : set to -EFAULT for an bad source address.
Returns an 32bit unfolded checksum of the buffer. src and dst are best aligned to 64bits.
Definition at line 22 of file csum-wrappers_64.c.
csum_partial_copy_nocheck - Copy and checksum. : source address : destination address : number of bytes to be copied. : initial sum that is added into the result (32bit unfolded)
Returns an 32bit unfolded checksum of the buffer.
Definition at line 123 of file csum-wrappers_64.c.
| __wsum csum_partial_copy_to_user | ( | const void * | src, |
| void __user * | dst, | ||
| int | len, | ||
| __wsum | isum, | ||
| int * | errp | ||
| ) |
csum_partial_copy_to_user - Copy and checksum to user space. : source address : destination address (user space) : number of bytes to be copied. : initial sum that is added into the result (32bit unfolded) : set to -EFAULT for an bad destination address.
Returns an 32bit unfolded checksum of the buffer. src and dst are best aligned to 64bits.
Definition at line 82 of file csum-wrappers_64.c.
| EXPORT_SYMBOL | ( | csum_partial_copy_from_user | ) |
| EXPORT_SYMBOL | ( | csum_partial_copy_to_user | ) |
| EXPORT_SYMBOL | ( | csum_partial_copy_nocheck | ) |
| EXPORT_SYMBOL | ( | csum_ipv6_magic | ) |
1.8.2