examples/ip_pipeline: add swap action in configuration
authorJasvinder Singh <jasvinder.singh@intel.com>
Fri, 26 Aug 2016 21:21:45 +0000 (22:21 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 12 Oct 2016 20:46:12 +0000 (22:46 +0200)
commit22a79fc8306752a3c9c9ad9379be5cb11ff996e0
tree990efbdc56063a94b89229c195544588179983fa
parentcbe82f6cfb0a8d30abeccc84693bbe7ee815bfb9
examples/ip_pipeline: add swap action in configuration

The network_layers configuration file (config/network_layers.cfg)
demonstrates the various network layer components such as TCP, UDP,
ICMP etc, which can be easily integrated into ip pipeline
infrastructure.

The loopback function (implemented using passthrough pipeline) is
updated to perform swap operation on the IP source and destination
address, and UDP source and destination ports.

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config/network_layers.cfg
examples/ip_pipeline/config/network_layers.sh