History

lwtunnel: infrastructure for handling light weight tunnels like mpls

Provides infrastructure to parse/dump/store encap information for light weight tunnels like mpls. Encap information for such tunnels is associated with fib routes. This infrastructure is based on previous suggestions from Eric Biederman to follow the xfrm infrastructure.

Roopa Prabhu committed 11 years ago

Commit 499a2421 parent a0d9a866 files · +340 −0Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/lwtunnel.h+15−0
@@ -0,0 +1,15 @@
1+#ifndef _UAPI_LWTUNNEL_H_
2+#define _UAPI_LWTUNNEL_H_
3+
4+#include <linux/types.h>
5+
6+enum lwtunnel_encap_types {
7+ LWTUNNEL_ENCAP_NONE,
8+ LWTUNNEL_ENCAP_MPLS,
9+ __LWTUNNEL_ENCAP_MAX,
10+};
11+
12+#define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_MAX - 1)
13+
14+
15+#endif /* _UAPI_LWTUNNEL_H_ */