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 21:14:26 +0100
commite7f70af111f086a20800ad2e17f544b2e3e0f375 (patch)
treeb4bb190b2f906ebf19c6cf90893a55125ccf113a /include/net/vxlan.h
parentip_tunnel: add support for setting flow label via collect metadata (diff)
downloadlinux-e7f70af111f086a20800ad2e17f544b2e3e0f375.tar.xz
linux-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;