[dpdk-dev] [PATCH v2 0/2] examples/ipsec_secgw: add configuration file support
Fan Zhang
roy.fan.zhang at intel.com
Mon Jul 11 16:43:31 CEST 2016
This patchset adds the configuration file supported to ipsec_secgw
sample application. Two sample configuration files, ep0.cfg and ep1.cfg
are also added to show how to configure two systems back-to-back that
would forward traffic through an IPsec tunnel
v2 changes:
- fix configuration file parsing error.
- update doc to remove whitespace tailing errors.
Fan Zhang (2):
examples/ipsec-secgw: add configuration file support
examples/ipsec-secgw: add sample configuration files
doc/guides/sample_app_ug/ipsec_secgw.rst | 809 ++++++++++++-------------------
examples/ipsec-secgw/Makefile | 1 +
examples/ipsec-secgw/ep0.cfg | 119 +++++
examples/ipsec-secgw/ep1.cfg | 119 +++++
examples/ipsec-secgw/ipsec-secgw.c | 58 +--
examples/ipsec-secgw/ipsec.h | 8 +-
examples/ipsec-secgw/parser.c | 602 +++++++++++++++++++++++
examples/ipsec-secgw/parser.h | 116 +++++
examples/ipsec-secgw/rt.c | 255 +++++-----
examples/ipsec-secgw/sa.c | 462 ++++++++++--------
examples/ipsec-secgw/sp4.c | 539 +++++++++++---------
examples/ipsec-secgw/sp6.c | 540 ++++++++++++++-------
12 files changed, 2357 insertions(+), 1271 deletions(-)
create mode 100644 examples/ipsec-secgw/ep0.cfg
create mode 100644 examples/ipsec-secgw/ep1.cfg
create mode 100644 examples/ipsec-secgw/parser.c
create mode 100644 examples/ipsec-secgw/parser.h
--
2.5.5
More information about the dev
mailing list