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
84 TUNNEL_ENCAP_NONE,84 TUNNEL_ENCAP_NONE,
85 TUNNEL_ENCAP_FOU,85 TUNNEL_ENCAP_FOU,
86 TUNNEL_ENCAP_GUE,86 TUNNEL_ENCAP_GUE,
87 TUNNEL_ENCAP_MPLS,
87};88};
88 89
89#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)90#define TUNNEL_ENCAP_FLAG_CSUM (1<<0)