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.
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -84,6 +84,7 @@ enum tunnel_encap_types { · 83 unmodified lines | ||
| 84 | 84 | TUNNEL_ENCAP_NONE, |
| 85 | 85 | TUNNEL_ENCAP_FOU, |
| 86 | 86 | TUNNEL_ENCAP_GUE, |
| 87 | + TUNNEL_ENCAP_MPLS, | |
| 87 | 88 | }; |
| 88 | 89 | |
| 89 | 90 | #define TUNNEL_ENCAP_FLAG_CSUM (1<<0) |