Linux Kernel
3.7.1
|
#include <linux/in6.h>
#include <variant/core.h>
Go to the source code of this file.
Macros | |
#define | _HAVE_ARCH_IPV6_CSUM |
#define | HAVE_CSUM_COPY_USER |
Functions | |
asmlinkage __wsum | csum_partial (const void *buff, int len, __wsum sum) |
asmlinkage __wsum | csum_partial_copy_generic (const void *src, void *dst, int len, __wsum sum, int *src_err_ptr, int *dst_err_ptr) |
#define _HAVE_ARCH_IPV6_CSUM |
Definition at line 174 of file checksum.h.
#define HAVE_CSUM_COPY_USER |
Definition at line 240 of file checksum.h.
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 164 of file checksum.c.