Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ip_fragment.c File Reference
#include <linux/compiler.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/mm.h>
#include <linux/jiffies.h>
#include <linux/skbuff.h>
#include <linux/list.h>
#include <linux/ip.h>
#include <linux/icmp.h>
#include <linux/netdevice.h>
#include <linux/jhash.h>
#include <linux/random.h>
#include <linux/slab.h>
#include <net/route.h>
#include <net/dst.h>
#include <net/sock.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/checksum.h>
#include <net/inetpeer.h>
#include <net/inet_frag.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/inet.h>
#include <linux/netfilter_ipv4.h>
#include <net/inet_ecn.h>

Go to the source code of this file.

Data Structures

struct  ipfrag_skb_cb
 
struct  ipq
 
struct  ip4_create_arg
 

Macros

#define pr_fmt(fmt)   "IPv4: " fmt
 
#define FRAG_CB(skb)   ((struct ipfrag_skb_cb *)((skb)->cb))
 
#define IPFRAG_ECN_NOT_ECT   0x01 /* one frag had ECN_NOT_ECT */
 
#define IPFRAG_ECN_ECT_1   0x02 /* one frag had ECN_ECT_1 */
 
#define IPFRAG_ECN_ECT_0   0x04 /* one frag had ECN_ECT_0 */
 
#define IPFRAG_ECN_CE   0x08 /* one frag had ECN_CE */
 

Functions

int ip_frag_nqueues (struct net *net)
 
int ip_frag_mem (struct net *net)
 
int ip_defrag (struct sk_buff *skb, u32 user)
 
 EXPORT_SYMBOL (ip_defrag)
 
struct sk_buffip_check_defrag (struct sk_buff *skb, u32 user)
 
 EXPORT_SYMBOL (ip_check_defrag)
 
void __init ipfrag_init (void)
 

Macro Definition Documentation

#define FRAG_CB (   skb)    ((struct ipfrag_skb_cb *)((skb)->cb))

Definition at line 65 of file ip_fragment.c.

#define IPFRAG_ECN_CE   0x08 /* one frag had ECN_CE */

Definition at line 89 of file ip_fragment.c.

#define IPFRAG_ECN_ECT_0   0x04 /* one frag had ECN_ECT_0 */

Definition at line 88 of file ip_fragment.c.

#define IPFRAG_ECN_ECT_1   0x02 /* one frag had ECN_ECT_1 */

Definition at line 87 of file ip_fragment.c.

#define IPFRAG_ECN_NOT_ECT   0x01 /* one frag had ECN_NOT_ECT */

Definition at line 86 of file ip_fragment.c.

#define pr_fmt (   fmt)    "IPv4: " fmt

Definition at line 23 of file ip_fragment.c.

Function Documentation

EXPORT_SYMBOL ( ip_defrag  )
EXPORT_SYMBOL ( ip_check_defrag  )
struct sk_buff* ip_check_defrag ( struct sk_buff skb,
u32  user 
)
read

Definition at line 708 of file ip_fragment.c.

int ip_defrag ( struct sk_buff skb,
u32  user 
)

Definition at line 678 of file ip_fragment.c.

int ip_frag_mem ( struct net net)

Definition at line 123 of file ip_fragment.c.

int ip_frag_nqueues ( struct net net)

Definition at line 118 of file ip_fragment.c.

void __init ipfrag_init ( void  )

Definition at line 881 of file ip_fragment.c.