#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/skbuff.h>
#include <linux/rculist.h>
#include <linux/netdevice.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/udp.h>
#include <linux/igmp.h>
#include <linux/etherdevice.h>
#include <linux/if_ether.h>
#include <linux/hash.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/udp.h>
#include <net/rtnetlink.h>
#include <net/route.h>
#include <net/dsfield.h>
#include <net/inet_ecn.h>
#include <net/net_namespace.h>
#include <net/netns/generic.h>
Go to the source code of this file.
#define FDB_AGE_DEFAULT 300 /* 5 min */ |
#define FDB_AGE_INTERVAL (10 * HZ) /* rescan interval */ |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define VXLAN_FLAGS 0x08000000 /* struct vxlanhdr.vx_flags required value. */ |
#define VXLAN_HEADROOM (20 + 8 + 8 + 14) |
#define VXLAN_N_VID (1u << 24) |
#define VXLAN_VERSION "0.1" |
MODULE_ALIAS_RTNL_LINK |
( |
"vxlan" |
| ) |
|
module_exit |
( |
vxlan_cleanup_module |
| ) |
|
module_init |
( |
vxlan_init_module |
| ) |
|
module_param |
( |
log_ecn_error |
, |
|
|
bool |
, |
|
|
0644 |
|
|
) |
| |
module_param_named |
( |
udp_port |
, |
|
|
vxlan_port |
, |
|
|
uint |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
udp_port |
, |
|
|
"Destination UDP port" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
log_ecn_error |
, |
|
|
"Log packets received with corrupted ECN" |
|
|
) |
| |