Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
IPSEC: tidy the policy types
[vpp.git]
/
src
/
vnet
/
ipsec
/
ipsec_spd.h
diff --git
a/src/vnet/ipsec/ipsec_spd.h
b/src/vnet/ipsec/ipsec_spd.h
index
dd09041
..
1e6c2c3
100644
(file)
--- 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,
foreach_ipsec_spd_policy_type
#undef _
IPSEC_SPD_POLICY_N_TYPES,
-} ipsec_spd_policy_t;
+} ipsec_spd_policy_t
ype_t
;
#define FOR_EACH_IPSEC_SPD_POLICY_TYPE(_t) \
for (_t = 0; _t < IPSEC_SPD_POLICY_N_TYPES; _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
*/
/**
* @brief A Secruity Policy Database
*/