]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: add mpls over gre support
authorAmine Kherbouche <amine.kherbouche@6wind.com>
Wed, 4 Oct 2017 17:35:57 +0000 (19:35 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Oct 2017 20:38:31 +0000 (21:38 +0100)
commit5e0797c251bc9c4eb14e96240b1ab9f510a18b62
tree762328be3154151d454483067a05d32727f6154a
parent956c087e32c9284bbb03c34f42bf21c0d03198e7
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>
include/uapi/linux/if_tunnel.h
net/mpls/af_mpls.c