Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
wanmain.c File Reference
#include <linux/stddef.h>
#include <linux/capability.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <asm/byteorder.h>
#include <linux/wanrouter.h>
#include <linux/vmalloc.h>
#include <asm/uaccess.h>
#include <linux/init.h>

Go to the source code of this file.

Macros

#define DEV_TO_SLAVE(dev)   (*((struct net_device **)netdev_priv(dev)))
 

Functions

 subsys_initcall (wanrouter_init)
 
 module_exit (wanrouter_cleanup)
 
int register_wan_device (struct wan_device *wandev)
 
int unregister_wan_device (char *name)
 
long wanrouter_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
 
 EXPORT_SYMBOL (register_wan_device)
 
 EXPORT_SYMBOL (unregister_wan_device)
 
 MODULE_LICENSE ("GPL")
 

Variables

struct wan_devicewanrouter_router_devlist
 

Macro Definition Documentation

#define DEV_TO_SLAVE (   dev)    (*((struct net_device **)netdev_priv(dev)))

Definition at line 62 of file wanmain.c.

Function Documentation

EXPORT_SYMBOL ( register_wan_device  )
EXPORT_SYMBOL ( unregister_wan_device  )
module_exit ( wanrouter_cleanup  )
MODULE_LICENSE ( "GPL"  )
int register_wan_device ( struct wan_device wandev)

Definition at line 164 of file wanmain.c.

subsys_initcall ( wanrouter_init  )
int unregister_wan_device ( char name)

Definition at line 220 of file wanmain.c.

long wanrouter_ioctl ( struct file file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 356 of file wanmain.c.

Variable Documentation

struct wan_device* wanrouter_router_devlist

Definition at line 103 of file wanmain.c.