• Tom Herbert's avatar
    vxlan: Improve support for header flags · 3bf39475
    Tom Herbert authored
    This patch cleans up the header flags of VXLAN in anticipation of
    defining some new ones:
    
    - Move header related definitions from vxlan.c to vxlan.h
    - Change VXLAN_FLAGS to be VXLAN_HF_VNI (only currently defined flag)
    - Move check for unknown flags to after we find vxlan_sock, this
      assumes that some flags may be processed based on tunnel
      configuration
    - Add a comment about why the stack treating unknown set flags as an
      error instead of ignoring them
    Signed-off-by: default avatarTom Herbert <therbert@google.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    3bf39475
vxlan.c 70.9 KB