Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gre.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kmod.h>
#include <linux/skbuff.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/netdevice.h>
#include <linux/spinlock.h>
#include <net/protocol.h>
#include <net/gre.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int gre_add_protocol (const struct gre_protocol *proto, u8 version)
 
 EXPORT_SYMBOL_GPL (gre_add_protocol)
 
int gre_del_protocol (const struct gre_protocol *proto, u8 version)
 
 EXPORT_SYMBOL_GPL (gre_del_protocol)
 
 module_init (gre_init)
 
 module_exit (gre_exit)
 
 MODULE_DESCRIPTION ("GRE over IPv4 demultiplexer driver")
 
 MODULE_AUTHOR ("D. Kozlov ([email protected])")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 13 of file gre.c.

Function Documentation

EXPORT_SYMBOL_GPL ( gre_add_protocol  )
EXPORT_SYMBOL_GPL ( gre_del_protocol  )
int gre_add_protocol ( const struct gre_protocol proto,
u8  version 
)

Definition at line 30 of file gre.c.

int gre_del_protocol ( const struct gre_protocol proto,
u8  version 
)

Definition at line 50 of file gre.c.

MODULE_AUTHOR ( "D. Kozlov ([email protected])"  )
MODULE_DESCRIPTION ( "GRE over IPv4 demultiplexer driver )
module_exit ( gre_exit  )
module_init ( gre_init  )
MODULE_LICENSE ( "GPL"  )