From c69ac31208059a8ed8b9ef6056b6aaf6e6629cb8 Mon Sep 17 00:00:00 2001 From: Kingwel Xie Date: Mon, 4 Feb 2019 01:49:29 -0800 Subject: 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 --- src/vnet/ipsec/ipsec_if_in.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/ipsec/ipsec_if_in.c') diff --git a/src/vnet/ipsec/ipsec_if_in.c b/src/vnet/ipsec/ipsec_if_in.c index 833f8485340..5834e3e6ad5 100644 --- a/src/vnet/ipsec/ipsec_if_in.c +++ b/src/vnet/ipsec/ipsec_if_in.c @@ -49,7 +49,7 @@ typedef struct u32 seq; } ipsec_if_input_trace_t; -u8 * +static u8 * format_ipsec_if_input_trace (u8 * s, va_list * args) { CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *); -- cgit 1.2.3-korg