X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fip_pipeline%2Fpipeline.h;h=64efbed89b892eb412a2252c00cec56527496adf;hb=a3a95b7d58b9403d9d8bb6c87e2f42dbe212ac91;hp=5757eb50bda23dc10edecd282d32166fa41b1926;hpb=50e73d051806f2ef4526fe4d33cc8e0c5761e7db;p=dpdk.git diff --git a/examples/ip_pipeline/pipeline.h b/examples/ip_pipeline/pipeline.h index 5757eb50bd..64efbed89b 100644 --- a/examples/ip_pipeline/pipeline.h +++ b/examples/ip_pipeline/pipeline.h @@ -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_ */