Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
checksum_64.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 _HAVE_ARCH_IPV6_CSUM
 

Functions

__wsum csum_partial (const void *buff, int len, __wsum sum)
 
__wsum csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum)
 
long __csum_partial_copy_from_user (const void __user *src, void *dst, int len, __wsum sum)
 
long __csum_partial_copy_to_user (const void *src, void __user *dst, int len, __wsum sum)
 
__sum16 ip_fast_csum (const void *iph, unsigned int ihl)
 

Macro Definition Documentation

#define _HAVE_ARCH_IPV6_CSUM

Definition at line 126 of file checksum_64.h.

#define HAVE_CSUM_COPY_USER

Definition at line 61 of file checksum_64.h.

Function Documentation

long __csum_partial_copy_from_user ( const void __user src,
void dst,
int  len,
__wsum  sum 
)
long __csum_partial_copy_to_user ( const void src,
void __user dst,
int  len,
__wsum  sum 
)
__wsum csum_partial ( const void buff,
int  len,
__wsum  sum 
)

Definition at line 164 of file checksum.c.

__wsum csum_partial_copy_nocheck ( const void src,
void dst,
int  len,
__wsum  sum 
)

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 374 of file csum_partial_copy.c.

__sum16 ip_fast_csum ( const void iph,
unsigned int  ihl 
)

Definition at line 147 of file checksum.c.