Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
checksum.h File Reference
#include <linux/in6.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Macros

#define HAVE_CSUM_COPY_USER
 
#define csum_partial_copy_nocheck   csum_partial_copy
 
#define _HAVE_ARCH_IPV6_CSUM
 

Functions

unsigned int csum_partial (const void *buff, int len, __wsum sum)
 
unsigned int csum_partial_copy_from_user (const char *src, char *dst, int len, unsigned int sum, int *csum_err)
 
unsigned int csum_partial_copy (const char *src, char *dst, int len, unsigned int sum)
 

Macro Definition Documentation

#define _HAVE_ARCH_IPV6_CSUM

Definition at line 180 of file checksum.h.

#define csum_partial_copy_nocheck   csum_partial_copy

Definition at line 47 of file checksum.h.

#define HAVE_CSUM_COPY_USER

Definition at line 33 of file checksum.h.

Function Documentation

unsigned int csum_partial ( const void buff,
int  len,
__wsum  sum 
)

Definition at line 164 of file checksum.c.

unsigned int csum_partial_copy ( const char src,
char dst,
int  len,
unsigned int  sum 
)

Definition at line 30 of file checksum_copy.c.

unsigned int csum_partial_copy_from_user ( const char src,
char dst,
int  len,
unsigned int  sum,
int csum_err 
)

Definition at line 39 of file checksum_copy.c.