Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wanproc.c File Reference
#include <linux/init.h>
#include <linux/stddef.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/wanrouter.h>
#include <linux/seq_file.h>
#include <linux/mutex.h>
#include <net/net_namespace.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define PROC_STATS_FORMAT   "%30s: %12lu\n"
 
#define PROT_DECODE(prot)
 

Functions

int __init wanrouter_proc_init (void)
 
void wanrouter_proc_cleanup (void)
 
int wanrouter_proc_add (struct wan_device *wandev)
 
int wanrouter_proc_delete (struct wan_device *wandev)
 

Macro Definition Documentation

#define PROC_STATS_FORMAT   "%30s: %12lu\n"

Definition at line 35 of file wanproc.c.

#define PROT_DECODE (   prot)
Value:
((prot == WANCONFIG_FR) ? " FR" :\
(prot == WANCONFIG_X25) ? " X25" : \
(prot == WANCONFIG_PPP) ? " PPP" : \
(prot == WANCONFIG_CHDLC) ? " CHDLC": \
(prot == WANCONFIG_MPPP) ? " MPPP" : \
" Unknown" )

Definition at line 39 of file wanproc.c.

Function Documentation

int wanrouter_proc_add ( struct wan_device wandev)

Definition at line 365 of file wanproc.c.

void wanrouter_proc_cleanup ( void  )

Definition at line 361 of file wanproc.c.

int wanrouter_proc_delete ( struct wan_device wandev)

Definition at line 370 of file wanproc.c.

int __init wanrouter_proc_init ( void  )

Definition at line 356 of file wanproc.c.