aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentgue: Receive side for Generic UDP Encapsulation (diff)
downloadwireguard-linux-bc1fc390e1728672b5b343b85185fcc1fe41043b.tar.xz
wireguard-linux-bc1fc390e1728672b5b343b85185fcc1fe41043b.zip
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 7c832afdfa94..280d9e092283 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)