mpls: ip tunnel support

This implementation uses lwtunnel infrastructure to register
hooks for mpls tunnel encaps.

It picks cues from iptunnel_encaps infrastructure and previous
mpls iptunnel RFC patches from Eric W. Biederman and Robert Shearman

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Roopa Prabhu 2015-07-21 10:43:53 +02:00 committed by David S. Miller
parent face0188e3
commit e3e4712ec0
6 changed files with 304 additions and 1 deletions

View file

@ -0,0 +1,6 @@
#ifndef _LINUX_MPLS_IPTUNNEL_H
#define _LINUX_MPLS_IPTUNNEL_H
#include <uapi/linux/mpls_iptunnel.h>
#endif /* _LINUX_MPLS_IPTUNNEL_H */