Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
macvtap.c File Reference
#include <linux/etherdevice.h>
#include <linux/if_macvlan.h>
#include <linux/if_vlan.h>
#include <linux/interrupt.h>
#include <linux/nsproxy.h>
#include <linux/compat.h>
#include <linux/if_tun.h>
#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/cache.h>
#include <linux/sched.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/cdev.h>
#include <linux/idr.h>
#include <linux/fs.h>
#include <net/net_namespace.h>
#include <net/rtnetlink.h>
#include <net/sock.h>
#include <linux/virtio_net.h>

Go to the source code of this file.

Data Structures

struct  macvtap_queue
 

Macros

#define MACVTAP_NUM_DEVS   (1U << MINORBITS)
 
#define GOODCOPY_LEN   128
 

Functions

struct socketmacvtap_get_socket (struct file *file)
 
 EXPORT_SYMBOL_GPL (macvtap_get_socket)
 
 module_init (macvtap_init)
 
 module_exit (macvtap_exit)
 
 MODULE_ALIAS_RTNL_LINK ("macvtap")
 
 MODULE_AUTHOR ("Arnd Bergmann <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define GOODCOPY_LEN   128

Definition at line 63 of file macvtap.c.

#define MACVTAP_NUM_DEVS   (1U << MINORBITS)

Definition at line 59 of file macvtap.c.

Function Documentation

EXPORT_SYMBOL_GPL ( macvtap_get_socket  )
struct socket* macvtap_get_socket ( struct file file)
read

Definition at line 1049 of file macvtap.c.

MODULE_ALIAS_RTNL_LINK ( "macvtap"  )
MODULE_AUTHOR ( "Arnd Bergmann <[email protected]>"  )
module_exit ( macvtap_exit  )
module_init ( macvtap_init  )
MODULE_LICENSE ( "GPL"  )