]> git.droids-corp.org - dpdk.git/blobdiff - examples/ip_pipeline/pipeline.h
examples/ip_pipeline: add table entry commands
[dpdk.git] / examples / ip_pipeline / pipeline.h
index 5757eb50bda23dc10edecd282d32166fa41b1926..64efbed89b892eb412a2252c00cec56527496adf 100644 (file)
@@ -295,4 +295,17 @@ pipeline_table_stats_read(const char *pipeline_name,
        struct rte_pipeline_table_stats *stats,
        int clear);
 
+int
+pipeline_table_rule_add(const char *pipeline_name,
+       uint32_t table_id,
+       struct table_rule_match *match,
+       struct table_rule_action *action,
+       void **data);
+
+int
+pipeline_table_rule_add_default(const char *pipeline_name,
+       uint32_t table_id,
+       struct table_rule_action *action,
+       void **data);
+
 #endif /* _INCLUDE_PIPELINE_H_ */