mbox

[v2,0/2] fix SAD selection logic

Message ID 20190924103539.12052-1-mariuszx.drost@intel.com (mailing list archive)
Headers

Message

Mariusz Drost Sept. 24, 2019, 10:35 a.m. UTC
Code fix for SAD selection logic by splitting SAD into IPv4 SAD and
IPv6 SAD. Test scripts updated to reflect changes.

v2:
* Added linux_test.sh
* Modified ep0.cfg and ep1.cfg files to run with ipsec-secgw app

Mariusz Drost (2):
  examples/ipsec-secgw: fix SAD selection logic
  examples/ipsec-secgw: tests for split SAD

 examples/ipsec-secgw/ep0.cfg                  |  58 ++-
 examples/ipsec-secgw/ep1.cfg                  |  62 ++-
 examples/ipsec-secgw/ipsec-secgw.c            |  48 ++-
 examples/ipsec-secgw/ipsec.c                  |   5 +-
 examples/ipsec-secgw/ipsec.h                  |  21 +-
 examples/ipsec-secgw/sa.c                     | 396 ++++++++++++------
 examples/ipsec-secgw/test/common_defs.sh      |   7 +-
 .../test/{linux_test6.sh => linux_test.sh}    |  94 ++++-
 examples/ipsec-secgw/test/linux_test4.sh      |  78 ----
 examples/ipsec-secgw/test/run_test.sh         |  42 +-
 .../ipsec-secgw/test/trs_3descbc_sha1_defs.sh |   7 +-
 .../test/trs_3descbc_sha1_esn_defs.sh         |   7 +-
 .../ipsec-secgw/test/trs_aescbc_sha1_defs.sh  |   7 +-
 .../test/trs_aescbc_sha1_esn_defs.sh          |   7 +-
 .../ipsec-secgw/test/trs_aesctr_sha1_defs.sh  |   7 +-
 .../test/trs_aesctr_sha1_esn_defs.sh          |   7 +-
 examples/ipsec-secgw/test/trs_aesgcm_defs.sh  |   7 +-
 .../ipsec-secgw/test/trs_aesgcm_esn_defs.sh   |   7 +-
 .../test/tun_3descbc_sha1_common_defs.sh      |  68 +++
 .../ipsec-secgw/test/tun_3descbc_sha1_defs.sh |  77 +++-
 .../test/tun_3descbc_sha1_esn_defs.sh         |  77 +++-
 .../test/tun_aescbc_sha1_common_defs.sh       |  64 +++
 .../ipsec-secgw/test/tun_aescbc_sha1_defs.sh  |  77 +++-
 .../test/tun_aescbc_sha1_esn_defs.sh          |  77 +++-
 .../test/tun_aesctr_sha1_common_defs.sh       |  64 +++
 .../ipsec-secgw/test/tun_aesctr_sha1_defs.sh  |  77 +++-
 .../test/tun_aesctr_sha1_esn_defs.sh          |  77 +++-
 .../test/tun_aesgcm_common_defs.sh            |  56 +++
 examples/ipsec-secgw/test/tun_aesgcm_defs.sh  |  77 +++-
 .../ipsec-secgw/test/tun_aesgcm_esn_defs.sh   |  77 +++-
 30 files changed, 1397 insertions(+), 338 deletions(-)
 rename examples/ipsec-secgw/test/{linux_test6.sh => linux_test.sh} (50%)
 delete mode 100644 examples/ipsec-secgw/test/linux_test4.sh