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.
Showing the changes to include/uapi (1 of 6 files). Show all
Unified · Split
| @@ -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_ */ | |