devtools: pass custom options to checkpatch
[dpdk.git] / examples / ip_pipeline / pipeline.h
index 8a364a9..278775c 100644 (file)
@@ -341,8 +341,7 @@ pipeline_table_rule_add_bulk(const char *pipeline_name,
 int
 pipeline_table_rule_add_default(const char *pipeline_name,
        uint32_t table_id,
-       struct table_rule_action *action,
-       void **data);
+       struct table_rule_action *action);
 
 int
 pipeline_table_rule_delete(const char *pipeline_name,
@@ -356,7 +355,7 @@ pipeline_table_rule_delete_default(const char *pipeline_name,
 int
 pipeline_table_rule_stats_read(const char *pipeline_name,
        uint32_t table_id,
-       void *data,
+       struct table_rule_match *match,
        struct rte_table_action_stats_counters *stats,
        int clear);
 
@@ -374,8 +373,7 @@ pipeline_table_mtr_profile_delete(const char *pipeline_name,
 int
 pipeline_table_rule_mtr_read(const char *pipeline_name,
        uint32_t table_id,
-       void *data,
-       uint32_t tc_mask,
+       struct table_rule_match *match,
        struct rte_table_action_mtr_counters *stats,
        int clear);
 
@@ -388,9 +386,16 @@ pipeline_table_dscp_table_update(const char *pipeline_name,
 int
 pipeline_table_rule_ttl_read(const char *pipeline_name,
        uint32_t table_id,
-       void *data,
+       struct table_rule_match *match,
        struct rte_table_action_ttl_counters *stats,
        int clear);
+
+int
+pipeline_table_rule_time_read(const char *pipeline_name,
+       uint32_t table_id,
+       struct table_rule_match *match,
+       uint64_t *timestamp);
+
 struct table_rule *
 table_rule_find(struct table *table,
        struct table_rule_match *match);