Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
veth.c File Reference
#include <linux/netdevice.h>
#include <linux/slab.h>
#include <linux/ethtool.h>
#include <linux/etherdevice.h>
#include <linux/u64_stats_sync.h>
#include <net/dst.h>
#include <net/xfrm.h>
#include <linux/veth.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  veth_net_stats
 
struct  veth_priv
 

Macros

#define DRV_NAME   "veth"
 
#define DRV_VERSION   "1.0"
 
#define MIN_MTU   68 /* Min L3 MTU */
 
#define MAX_MTU   65535 /* Max L3 MTU (arbitrary) */
 

Functions

 module_init (veth_init)
 
 module_exit (veth_exit)
 
 MODULE_DESCRIPTION ("Virtual Ethernet Tunnel")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS_RTNL_LINK (DRV_NAME)
 

Macro Definition Documentation

#define DRV_NAME   "veth"

Definition at line 22 of file veth.c.

#define DRV_VERSION   "1.0"

Definition at line 23 of file veth.c.

#define MAX_MTU   65535 /* Max L3 MTU (arbitrary) */

Definition at line 26 of file veth.c.

#define MIN_MTU   68 /* Min L3 MTU */

Definition at line 25 of file veth.c.

Function Documentation

MODULE_ALIAS_RTNL_LINK ( DRV_NAME  )
MODULE_DESCRIPTION ( "Virtual Ethernet Tunnel"  )
module_exit ( veth_exit  )
module_init ( veth_init  )
MODULE_LICENSE ( "GPL v2 )

Variable Documentation

Definition at line 47 of file veth.c.