numam-dpdk/examples/ip_pipeline
Daniel Mrzyglod 0c1f2c4a0b examples/ip_pipeline: rework firewall CLI
Each command are merged into one: cmd_firewall_parsed.
ADD command format is changed:
p <pipeline ID> firewall add priority <priority> ipv4 <sipaddr>
<sipdepth> <dipaddr> <dipdepth> <sport0> <sport1> <dport0> <dport1>
<proto> <protomask> port <port ID>

and bulk command was modified:
1. firewall add bulk
File line format:
priority <priority> ipv4 <sipaddr> <sipdepth> <dipaddr> <dipdepth>
<sport0> <sport1> <dport0> <dport1> <proto> <protomask> port <port ID>
(protomask is a hex value)
File line example:
priority 0 ipv4 1.2.3.0 24 10.20.30.40 32 0 63 64 127 6 0xF port 3

2. firewall del bulk
File line format:
ipv4 <sipaddr> <sipdepth> <dipaddr> <dipdepth> <sport0> <sport1>
<dport0> <dport1> <proto> <protomask>
File line example:
ipv4 1.2.3.0 24 10.20.30.40 32 0 63 64 127 6 0xF

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
2016-06-08 16:45:05 +02:00
..
config examples/ip_pipeline: rework firewall CLI 2016-06-08 16:45:05 +02:00
pipeline examples/ip_pipeline: rework firewall CLI 2016-06-08 16:45:05 +02:00
app.h examples/ip_pipeline: fix options array overflow 2016-05-16 21:01:51 +02:00
config_check.c examples/ip_pipeline: add link identification 2016-03-07 12:43:23 +01:00
config_parse_tm.c examples/ip_pipeline: fix buffer overrun 2015-12-13 02:39:19 +01:00
config_parse.c examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
cpu_core_map.c remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
cpu_core_map.h examples/ip_pipeline: rework config file syntax 2015-07-09 17:25:45 +02:00
init.c examples/ip_pipeline: fix null packet in source port 2016-06-07 22:58:18 +02:00
main.c examples/ip_pipeline: add more ports 2015-11-26 00:32:12 +01:00
Makefile examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
parser.c examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
parser.h examples/ip_pipeline: add string parsing helpers 2016-06-08 16:45:05 +02:00
pipeline_be.h examples/ip_pipeline: add pcap file dump 2016-03-13 16:04:16 +01:00
pipeline.h examples/ip_pipeline: reconfigure thread binding dynamically 2015-12-07 02:35:56 +01:00
thread_fe.c examples/ip_pipeline: rework common CLI 2016-06-08 16:45:05 +02:00
thread_fe.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.c examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00
thread.h examples/ip_pipeline: measure CPU utilization 2016-03-07 12:35:36 +01:00