summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAmine Kherbouche <amine.kherbouche@6wind.com>2017-10-04 19:35:57 +0200
committerDavid S. Miller <davem@davemloft.net>2017-10-07 21:38:31 +0100
commitbdc476413dcdb5c38a7dec90fb2bca327021273a (patch)
tree762328be3154151d454483067a05d32727f6154a /include
parent2af48d430aee5ded45cc6d6b4b10a5e76130885f (diff)
ip_tunnel: add mpls over gre support
This commit introduces the MPLSoGRE support (RFC 4023), using ip tunnel API by simply adding ipgre_tunnel_encap_(add|del)_mpls_ops() and the new tunnel type TUNNEL_ENCAP_MPLS. Signed-off-by: Amine Kherbouche <amine.kherbouche@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 2e520883c054..a2f48c01365e 100644
--- a/include/uapi/linux/if_tunnel.h
+++ b/include/uapi/linux/if_tunnel.h
@@ -84,6 +84,7 @@ enum tunnel_encap_types {
TUNNEL_ENCAP_NONE,
TUNNEL_ENCAP_FOU,
TUNNEL_ENCAP_GUE,
+ TUNNEL_ENCAP_MPLS,
};
#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)