summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/if_tunnel.h
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-10-03 15:48:10 -0700
committerDavid S. Miller <davem@davemloft.net>2014-10-03 16:53:33 -0700
commitbc1fc390e1728672b5b343b85185fcc1fe41043b (patch)
tree3433fc7ea36411d4511c776bb4bcafe2b1161e7f /include/uapi/linux/if_tunnel.h
parent37dd0247797b168ad1cc7f5dbec825a1ee66535b (diff)
downloadop-kernel-dev-bc1fc390e1728672b5b343b85185fcc1fe41043b.zip
op-kernel-dev-bc1fc390e1728672b5b343b85185fcc1fe41043b.tar.gz
ip_tunnel: Add GUE support
This patch allows configuring IPIP, sit, and GRE tunnels to use GUE. This is very similar to fou excpet that we need to insert the GUE header in addition to the UDP header on transmit. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_tunnel.h')
-rw-r--r--include/uapi/linux/if_tunnel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/if_tunnel.h b/include/uapi/linux/if_tunnel.h
index 7c832af..280d9e0 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -64,6 +64,7 @@ enum {
enum tunnel_encap_types {
TUNNEL_ENCAP_NONE,
TUNNEL_ENCAP_FOU,
+ TUNNEL_ENCAP_GUE,
};
#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)
OpenPOWER on IntegriCloud