Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
netvsc_drv.c File Reference
#include <linux/init.h>
#include <linux/atomic.h>
#include <linux/module.h>
#include <linux/highmem.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/netdevice.h>
#include <linux/inetdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/slab.h>
#include <net/arp.h>
#include <net/route.h>
#include <net/sock.h>
#include <net/pkt_sched.h>
#include "hyperv_net.h"

Go to the source code of this file.

Data Structures

struct  net_device_context
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define RING_SIZE_MIN   64
 

Functions

 module_param (ring_size, int, S_IRUGO)
 
 MODULE_PARM_DESC (ring_size,"Ring buffer size (# of pages)")
 
void netvsc_linkstatus_callback (struct hv_device *device_obj, unsigned int status)
 
int netvsc_recv_callback (struct hv_device *device_obj, struct hv_netvsc_packet *packet)
 
 MODULE_DEVICE_TABLE (vmbus, id_table)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (HV_DRV_VERSION)
 
 MODULE_DESCRIPTION ("Microsoft Hyper-V network driver")
 
 module_init (netvsc_drv_init)
 
 module_exit (netvsc_drv_exit)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 21 of file netvsc_drv.c.

#define RING_SIZE_MIN   64

Definition at line 50 of file netvsc_drv.c.

Function Documentation

MODULE_DESCRIPTION ( "Microsoft Hyper-V network driver )
MODULE_DEVICE_TABLE ( vmbus  ,
id_table   
)
module_exit ( netvsc_drv_exit  )
module_init ( netvsc_drv_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( ring_size  ,
int  ,
S_IRUGO   
)
MODULE_PARM_DESC ( ring_size  ,
"Ring buffer size (# of pages)"   
)
MODULE_VERSION ( HV_DRV_VERSION  )
void netvsc_linkstatus_callback ( struct hv_device *  device_obj,
unsigned int  status 
)

Definition at line 226 of file netvsc_drv.c.

int netvsc_recv_callback ( struct hv_device *  device_obj,
struct hv_netvsc_packet packet 
)

Definition at line 258 of file netvsc_drv.c.