Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
l2: Separating scan-delay and learn-limit into a separate API from want_l2_macs_events
[vpp.git]
/
src
/
vnet
/
ipsec
/
ipsec_itf.c
diff --git
a/src/vnet/ipsec/ipsec_itf.c
b/src/vnet/ipsec/ipsec_itf.c
index
ff06a57
..
4a0f9e7
100644
(file)
--- a/
src/vnet/ipsec/ipsec_itf.c
+++ b/
src/vnet/ipsec/ipsec_itf.c
@@
-20,6
+20,7
@@
#include <vnet/ipsec/ipsec_tun.h>
#include <vnet/ipsec/ipsec.h>
#include <vnet/adj/adj_midchain.h>
#include <vnet/ipsec/ipsec_tun.h>
#include <vnet/ipsec/ipsec.h>
#include <vnet/adj/adj_midchain.h>
+#include <vnet/ethernet/mac_address.h>
/* bitmap of Allocated IPSEC_ITF instances */
static uword *ipsec_itf_instances;
/* bitmap of Allocated IPSEC_ITF instances */
static uword *ipsec_itf_instances;
@@
-207,6
+208,7
@@
VNET_HW_INTERFACE_CLASS(ipsec_p2mp_hw_interface_class) = {
.name = "IPSec",
.build_rewrite = ipsec_itf_build_rewrite_i,
.update_adjacency = ipsec_itf_update_adj,
.name = "IPSec",
.build_rewrite = ipsec_itf_build_rewrite_i,
.update_adjacency = ipsec_itf_update_adj,
+ .flags = VNET_HW_INTERFACE_CLASS_FLAG_NBMA,
};
/* *INDENT-ON* */
};
/* *INDENT-ON* */
@@
-467,10
+469,10
@@
ipsec_interface_show (vlib_main_t * vm,
index_t ii;
/* *INDENT-OFF* */
index_t ii;
/* *INDENT-OFF* */
- pool_foreach_index (ii, ipsec_itf_pool
,
-
(
{
+ pool_foreach_index (ii, ipsec_itf_pool
)
+
{
vlib_cli_output (vm, "%U", format_ipsec_itf, ii);
vlib_cli_output (vm, "%U", format_ipsec_itf, ii);
- }
));
+ }
/* *INDENT-ON* */
return NULL;
/* *INDENT-ON* */
return NULL;