/* * VXLAN: Virtual eXtensible Local Area Network * * Copyright (c) 2012 Vyatta Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * TODO * - use IANA UDP port number (when defined) * - IPv6 (not in RFC) */#define pr_fmt(fmt) KBUILD_MODNAME": " fmt#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/arp.h>#include <net/ndisc.h>#include <net/ip.h>#i