examples/ip_pipeline: clean config parser
authorFan Zhang <roy.fan.zhang@intel.com>
Wed, 17 Feb 2016 11:14:11 +0000 (11:14 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Mar 2016 11:28:57 +0000 (12:28 +0100)
commit1a33c5ea2f45cde3273ba278e953b8b21c0302d0
treea5d1b60e6a10f836a267a4fc738abad6c62608b3
parent3cdf882614879c67d3ca9c490e65313faa376810
examples/ip_pipeline: clean config parser

This patch updates the pipelne configuration file parser, cleans up nesting
if/else conditions, and add clearer error message display.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config_parse.c
examples/ip_pipeline/parser.h [new file with mode: 0644]
examples/ip_pipeline/pipeline/pipeline_firewall_be.c
examples/ip_pipeline/pipeline/pipeline_flow_actions_be.c
examples/ip_pipeline/pipeline/pipeline_flow_classification_be.c
examples/ip_pipeline/pipeline/pipeline_passthrough_be.c
examples/ip_pipeline/pipeline/pipeline_routing_be.c
examples/ip_pipeline/pipeline_be.h