examples/ipsec-secgw: add event config display
[dpdk.git] / examples / qos_meter / main.h
index f51eb66..ab20151 100644 (file)
@@ -6,13 +6,13 @@
 #define _MAIN_H_
 
 enum policer_action {
-        GREEN = e_RTE_METER_GREEN,
-        YELLOW = e_RTE_METER_YELLOW,
-        RED = e_RTE_METER_RED,
-        DROP = 3,
+               GREEN = RTE_COLOR_GREEN,
+               YELLOW = RTE_COLOR_YELLOW,
+               RED = RTE_COLOR_RED,
+               DROP = 3,
 };
 
-enum policer_action policer_table[e_RTE_METER_COLORS][e_RTE_METER_COLORS] =
+enum policer_action policer_table[RTE_COLORS][RTE_COLORS] =
 {
        { GREEN, RED, RED},
        { DROP, YELLOW, RED},