summaryrefslogtreecommitdiffstats
path: root/include/net/vxlan.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-03-09 03:00:03 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-11 15:14:26 -0500
commite7f70af111f086a20800ad2e17f544b2e3e0f375 (patch)
treeb4bb190b2f906ebf19c6cf90893a55125ccf113a /include/net/vxlan.h
parent134611446dc657e1bbc73ca0e4e6b599df687db0 (diff)
downloadlinux-stable-e7f70af111f086a20800ad2e17f544b2e3e0f375.tar.gz
linux-stable-e7f70af111f086a20800ad2e17f544b2e3e0f375.tar.bz2
linux-stable-e7f70af111f086a20800ad2e17f544b2e3e0f375.zip
vxlan: support setting IPv6 flow label
This work adds support for setting the IPv6 flow label for vxlan per device and through collect metadata (ip_tunnel_key) frontends. The vxlan dst cache does not need any special considerations here, for the cases where caches can be used, the label is static per cache. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/vxlan.h')
-rw-r--r--include/net/vxlan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/vxlan.h b/include/net/vxlan.h
index 6eda4ed4d78b..a763c96ecde4 100644
--- a/include/net/vxlan.h
+++ b/include/net/vxlan.h
@@ -162,6 +162,7 @@ struct vxlan_config {
u16 port_max;
u8 tos;
u8 ttl;
+ __be32 label;
u32 flags;
unsigned long age_interval;
unsigned int addrmax;