1 #ifndef __LINUX_TC_EM_META_H
2 #define __LINUX_TC_EM_META_H
4 #include <linux/pkt_cls.h>
14 #define TCA_EM_META_MAX (__TCA_EM_META_MAX - 1)
23 #define TCF_META_TYPE_MASK (0xf << 12)
24 #define TCF_META_TYPE(kind) (((kind) & TCF_META_TYPE_MASK) >> 12)
25 #define TCF_META_ID_MASK 0x7ff
26 #define TCF_META_ID(kind) ((kind) & TCF_META_ID_MASK)
34 #define TCF_META_TYPE_MAX (__TCF_META_TYPE_MAX - 1)
40 TCF_META_ID_LOADAVG_0
,
41 TCF_META_ID_LOADAVG_1
,
42 TCF_META_ID_LOADAVG_2
,
55 TCF_META_ID_TCVERDICT
,
56 TCF_META_ID_TCCLASSID
,
57 TCF_META_ID_RTCLASSID
,
61 #define TCF_META_ID_MAX (__TCF_META_ID_MAX - 1)
65 struct tcf_meta_val left
;
66 struct tcf_meta_val right
;