Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ipip.c File Reference
#include <linux/capability.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <asm/uaccess.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/in.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/if_arp.h>
#include <linux/mroute.h>
#include <linux/init.h>
#include <linux/netfilter_ipv4.h>
#include <linux/if_ether.h>
#include <net/sock.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/ipip.h>
#include <net/inet_ecn.h>
#include <net/xfrm.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>

Go to the source code of this file.

Data Structures

struct  ipip_net
 
struct  pcpu_tstats
 

Macros

#define HASH_SIZE   16
 
#define HASH(addr)   (((__force u32)addr^((__force u32)addr>>4))&0xF)
 
#define for_each_ip_tunnel_rcu(start)   for (t = rcu_dereference(start); t; t = rcu_dereference(t->next))
 

Functions

 module_param (log_ecn_error, bool, 0644)
 
 MODULE_PARM_DESC (log_ecn_error,"Log packets received with corrupted ECN")
 
 module_init (ipip_init)
 
 module_exit (ipip_fini)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS_NETDEV ("tunl0")
 

Macro Definition Documentation

#define for_each_ip_tunnel_rcu (   start)    for (t = rcu_dereference(start); t; t = rcu_dereference(t->next))

Definition at line 146 of file ipip.c.

#define HASH (   addr)    (((__force u32)addr^((__force u32)addr>>4))&0xF)

Definition at line 121 of file ipip.c.

#define HASH_SIZE   16

Definition at line 120 of file ipip.c.

Function Documentation

MODULE_ALIAS_NETDEV ( "tunl0"  )
module_exit ( ipip_fini  )
module_init ( ipip_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( log_ecn_error  ,
bool  ,
0644   
)
MODULE_PARM_DESC ( log_ecn_error  ,
"Log packets received with corrupted ECN"   
)