ipsec: multi-arch, next-node-index cleanup 85/17285/3
authorKingwel Xie <kingwel.xie@ericsson.com>
Mon, 4 Feb 2019 09:49:29 +0000 (01:49 -0800)
committerKingwel Xie <kingwel.xie@ericsson.com>
Mon, 11 Feb 2019 11:12:01 +0000 (03:12 -0800)
commitc69ac31208059a8ed8b9ef6056b6aaf6e6629cb8
treefb57011ee0e739c70f73d3c7e0444b14dbdbfb65
parent8934a04596d1421c35b194949b2027ca1fe71aef
ipsec: multi-arch, next-node-index cleanup

1. specify ipsec_xxx_node.c in MULTIARCH_SOURCES
2. cleanup foreach_ipsec_output_next & foreach_ipsec_input_next,
   as next-nodes are actually added by ipsec_register_xx_backend dynamically
   thus, ipsec4-input-feature will point to ah4/esp4-encrypt, instead of
   pointing to ah6/esp6-encrypt
3. remove an unused count and add counter IPSEC_INPUT_ERROR_RX_MATCH_PKTS
   in ipsec-input

Change-Id: Ifcf167812d2cc18187c2cea84b657a52b67e17d4
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
src/vnet/CMakeLists.txt
src/vnet/ipsec/ipsec_if.c
src/vnet/ipsec/ipsec_if_in.c
src/vnet/ipsec/ipsec_input.c
src/vnet/ipsec/ipsec_io.h