Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/string.h>
#include <asm/byteorder.h>
#include <net/checksum.h>
#include <linux/uaccess.h>
#include <asm/intrinsics.h>
Go to the source code of this file.
Macros | |
#define | SIGN(x, y) ((0x8000ULL*x)<<y) |
#define | CARRY(x, y) ((0x0002ULL*x)<<y) |
#define | SELECT(x, y) ((0x0001ULL*x)<<y) |
#define | VR_NEGATE(a, b, c, d) |
#define | VR_CARRY(a, b, c, d) |
#define | VR_SELECT(a, b, c, d) |
Functions | |
__sum16 | csum_tcpudp_magic (unsigned long saddr, unsigned long daddr, unsigned short len, unsigned short proto, __wsum sum) |
__wsum | csum_tcpudp_nofold (unsigned long saddr, unsigned long daddr, unsigned short len, unsigned short proto, __wsum sum) |
EXPORT_SYMBOL (csum_tcpudp_nofold) | |
unsigned int | do_csum (const void *voidptr, int len) |
__wsum | csum_partial_copy_nocheck (const void *src, void *dst, int len, __wsum sum) |
Definition at line 35 of file checksum.c.
Definition at line 36 of file checksum.c.
Definition at line 34 of file checksum.c.
Definition at line 199 of file checksum.c.
__sum16 csum_tcpudp_magic | ( | unsigned long | saddr, |
unsigned long | daddr, | ||
unsigned short | len, | ||
unsigned short | proto, | ||
__wsum | sum | ||
) |
Definition at line 63 of file checksum.c.
__wsum csum_tcpudp_nofold | ( | unsigned long | saddr, |
unsigned long | daddr, | ||
unsigned short | len, | ||
unsigned short | proto, | ||
__wsum | sum | ||
) |
Definition at line 72 of file checksum.c.
EXPORT_SYMBOL | ( | csum_tcpudp_nofold | ) |