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/errno.h>
#include <asm/types.h>
#include <asm/byteorder.h>
#include <asm/uaccess.h>
#include <asm/checksum.h>

Go to the source code of this file.

Macros

#define CSUM_MANGLED_0   ((__force __sum16)0xffff)
 

Functions

void inet_proto_csum_replace4 (__sum16 *sum, struct sk_buff *skb, __be32 from, __be32 to, int pseudohdr)
 
void inet_proto_csum_replace16 (__sum16 *sum, struct sk_buff *skb, const __be32 *from, const __be32 *to, int pseudohdr)
 

Macro Definition Documentation

#define CSUM_MANGLED_0   ((__force __sum16)0xffff)

Definition at line 95 of file checksum.h.

Function Documentation

void inet_proto_csum_replace16 ( __sum16 sum,
struct sk_buff skb,
const __be32 from,
const __be32 to,
int  pseudohdr 
)

Definition at line 321 of file utils.c.

void inet_proto_csum_replace4 ( __sum16 sum,
struct sk_buff skb,
__be32  from,
__be32  to,
int  pseudohdr 
)

Definition at line 305 of file utils.c.