History

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.

Amine Kherbouche committed 9 years ago

Commit bdc47641 parent 2af48d42 files · +37 −0Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/if_tunnel.h+1−0
@@ -84,6 +84,7 @@ enum tunnel_encap_types { · 83 unmodified lines
8484 TUNNEL_ENCAP_NONE,
8585 TUNNEL_ENCAP_FOU,
8686 TUNNEL_ENCAP_GUE,
87+ TUNNEL_ENCAP_MPLS,
8788 };
8889
8990 #define TUNNEL_ENCAP_FLAG_CSUM (1<<0)