Linux Kernel
3.7.1
|
#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") | |
EXPORT_SYMBOL_GPL | ( | gre_add_protocol | ) |
EXPORT_SYMBOL_GPL | ( | gre_del_protocol | ) |
int gre_add_protocol | ( | const struct gre_protocol * | proto, |
u8 | version | ||
) |
int gre_del_protocol | ( | const struct gre_protocol * | proto, |
u8 | version | ||
) |
MODULE_AUTHOR | ( | "D. Kozlov ([email protected])" | ) |
MODULE_DESCRIPTION | ( | "GRE over IPv4 demultiplexer driver" | ) |
module_exit | ( | gre_exit | ) |
module_init | ( | gre_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |