]>
Commit | Line | Data |
---|---|---|
499a2425 RP |
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, | |
3093fbe7 | 9 | LWTUNNEL_ENCAP_IP, |
65d7ab8d | 10 | LWTUNNEL_ENCAP_ILA, |
32a2b002 | 11 | LWTUNNEL_ENCAP_IP6, |
499a2425 RP |
12 | __LWTUNNEL_ENCAP_MAX, |
13 | }; | |
14 | ||
15 | #define LWTUNNEL_ENCAP_MAX (__LWTUNNEL_ENCAP_MAX - 1) | |
16 | ||
a1c234f9 JB |
17 | enum lwtunnel_ip_t { |
18 | LWTUNNEL_IP_UNSPEC, | |
19 | LWTUNNEL_IP_ID, | |
20 | LWTUNNEL_IP_DST, | |
21 | LWTUNNEL_IP_SRC, | |
22 | LWTUNNEL_IP_TTL, | |
23 | LWTUNNEL_IP_TOS, | |
a1c234f9 | 24 | LWTUNNEL_IP_FLAGS, |
b46f6ded | 25 | LWTUNNEL_IP_PAD, |
a1c234f9 JB |
26 | __LWTUNNEL_IP_MAX, |
27 | }; | |
28 | ||
29 | #define LWTUNNEL_IP_MAX (__LWTUNNEL_IP_MAX - 1) | |
499a2425 | 30 | |
32a2b002 JB |
31 | enum lwtunnel_ip6_t { |
32 | LWTUNNEL_IP6_UNSPEC, | |
33 | LWTUNNEL_IP6_ID, | |
34 | LWTUNNEL_IP6_DST, | |
35 | LWTUNNEL_IP6_SRC, | |
36 | LWTUNNEL_IP6_HOPLIMIT, | |
37 | LWTUNNEL_IP6_TC, | |
32a2b002 | 38 | LWTUNNEL_IP6_FLAGS, |
b46f6ded | 39 | LWTUNNEL_IP6_PAD, |
32a2b002 JB |
40 | __LWTUNNEL_IP6_MAX, |
41 | }; | |
42 | ||
43 | #define LWTUNNEL_IP6_MAX (__LWTUNNEL_IP6_MAX - 1) | |
44 | ||
499a2425 | 45 | #endif /* _UAPI_LWTUNNEL_H_ */ |