From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 59F82DE0 for ; Thu, 7 Jul 2016 13:31:53 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 07 Jul 2016 04:31:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,324,1464678000"; d="scan'208";a="1002463226" Received: from sie-lab-212-071.ir.intel.com (HELO silvfanzhan2.ir.intel.com) ([10.237.212.71]) by fmsmga001.fm.intel.com with ESMTP; 07 Jul 2016 04:31:34 -0700 From: Fan Zhang To: dev@dpdk.org Cc: sergio.gonzalez.monroy@intel.com Date: Thu, 7 Jul 2016 12:31:31 +0100 Message-Id: <1467891093-41205-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.5 Subject: [dpdk-dev] [PATCH 0/2] examples/ipsec_secgw: add configuration file support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2016 11:31:53 -0000 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 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 | 806 ++++++++++++------------------- examples/ipsec-secgw/Makefile | 1 + examples/ipsec-secgw/ep0.cfg | 119 +++++ examples/ipsec-secgw/ep1.cfg | 119 +++++ examples/ipsec-secgw/ipsec-secgw.c | 48 +- 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 | 428 ++++++++-------- examples/ipsec-secgw/sp4.c | 523 +++++++++++--------- examples/ipsec-secgw/sp6.c | 524 +++++++++++++------- 12 files changed, 2311 insertions(+), 1238 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