summaryrefslogtreecommitdiffstats
path: root/src/vnet/ipsec/ipsec_spd.h
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-03-19 10:06:00 +0000
committerDave Barach <openvpp@barachs.net>2019-03-19 11:26:14 +0000
commit9f231d4f147c7e3fdf562680488ec5dfe7655b5e (patch)
treee190aff4497734c6ab13c512422c652e630f64bc /src/vnet/ipsec/ipsec_spd.h
parentee94ffa35d69a56df894a31147a106f2a7d4c3de (diff)
IPSEC: tidy the policy types
Change-Id: I5e981f12ff44243623cfd18d5e0ae06a7dfd1eb8 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/ipsec/ipsec_spd.h')
-rw-r--r--src/vnet/ipsec/ipsec_spd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vnet/ipsec/ipsec_spd.h b/src/vnet/ipsec/ipsec_spd.h
index dd09041b046..1e6c2c3bc90 100644
--- a/src/vnet/ipsec/ipsec_spd.h
+++ b/src/vnet/ipsec/ipsec_spd.h
@@ -31,11 +31,13 @@ typedef enum ipsec_spd_policy_t_
foreach_ipsec_spd_policy_type
#undef _
IPSEC_SPD_POLICY_N_TYPES,
-} ipsec_spd_policy_t;
+} ipsec_spd_policy_type_t;
#define FOR_EACH_IPSEC_SPD_POLICY_TYPE(_t) \
for (_t = 0; _t < IPSEC_SPD_POLICY_N_TYPES; _t++)
+extern u8 *format_ipsec_policy_type (u8 * s, va_list * args);
+
/**
* @brief A Secruity Policy Database
*/