This is first part of vxlan cleanup. It makes vxlan.h better organized and removes code duplication in the tx path. There's no change in functionality.
This is in preparation for VXLAN-GPE support. Other sets will follow with cleanup of rx path, modifications of vxlan interface setup and cleanup/modification of fdb handling. The goal of these patchsets is to consolidate VXLAN extension handling (right now it's scattered all around the code) and allow vxlan to operate in L3 mode (i.e. without inner Ethernet headers). The full picture (all 30 patches) can be seen at: https://github.com/jbenc/linux-vxlan/commits/master Changelog: v2: added patch 5/6, fixing the udp sum problem spotted by Paolo Abeni Jiri Benc (6): vxlan: cleanup types vxlan: remove duplicated macros vxlan: restructure vxlan.h definitions vxlan: consolidate output route calculation vxlan: consolidate csum flag handling vxlan: consolidate vxlan_xmit_skb and vxlan6_xmit_skb drivers/net/vxlan.c | 231 ++++++++++++++++------------------------------------ include/net/vxlan.h | 115 +++++++++++++++----------- 2 files changed, 136 insertions(+), 210 deletions(-) -- 1.8.3.1