diff options
| author | Amine Kherbouche <[email protected]> | 2017-10-04 19:35:57 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-07 21:38:31 +0100 |
| commit | bdc476413dcdb5c38a7dec90fb2bca327021273a (patch) | |
| tree | 762328be3154151d454483067a05d32727f6154a /include/uapi/linux | |
| parent | 2af48d430aee5ded45cc6d6b4b10a5e76130885f (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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/if_tunnel.h | 1 |
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) |