OSDN Git Service

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)
commitbdc476413dcdb5c38a7dec90fb2bca327021273a
tree762328be3154151d454483067a05d32727f6154a
parent2af48d430aee5ded45cc6d6b4b10a5e76130885f
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