1
2
3
4 #ifndef __LINUX_TC_MPLS_H
5 #define __LINUX_TC_MPLS_H
6
7 #include <linux/pkt_cls.h>
8
9 #define TCA_MPLS_ACT_POP 1
10 #define TCA_MPLS_ACT_PUSH 2
11 #define TCA_MPLS_ACT_MODIFY 3
12 #define TCA_MPLS_ACT_DEC_TTL 4
13
14 struct tc_mpls {
15 tc_gen;
16 int m_action;
17 };
18
19 enum {
20 TCA_MPLS_UNSPEC,
21 TCA_MPLS_TM,
22 TCA_MPLS_PARMS,
23 TCA_MPLS_PAD,
24 TCA_MPLS_PROTO,
25 TCA_MPLS_LABEL,
26 TCA_MPLS_TC,
27 TCA_MPLS_TTL,
28 TCA_MPLS_BOS,
29 __TCA_MPLS_MAX,
30 };
31 #define TCA_MPLS_MAX (__TCA_MPLS_MAX - 1)
32
33 #endif