#include <plugins/l2e/l2e.h>
#include <vnet/l2/l2_input.h>
+#include <vnet/l2/feat_bitmap.h>
/**
* Grouping of global data for the L2 emulation feature
if (vec_len (l2_emulations) >= sw_if_index)
{
l2_emulation_t *l23e = &l2_emulations[sw_if_index];
- memset (l23e, 0, sizeof (*l23e));
+ clib_memset (l23e, 0, sizeof (*l23e));
l2input_intf_bitmap_enable (sw_if_index, L2INPUT_FEAT_L2_EMULATION, 0);
ip4_sw_interface_enable_disable (sw_if_index, 0);
}
/*?
- * Configure l2 emualtion.
+ * Configure l2 emulation.
* When the interface is in L2 mode, configure the extraction of L3
* packets out of the L2 path and into the L3 path.
*
* @cliexpar
- * @cliexstart{set interface l2 input l2-emulation <interface-name> [disable]
+ * @cliexstart{set interface l2 input l2-emulation <interface-name> [disable]}
* @cliexend
?*/
/* *INDENT-OFF* */
* packets out of the L2 path and into the L3 path.
*
* @cliexpar
- * @cliexstart{show interface l2 l2-emulation
+ * @cliexstart{show interface l2 l2-emulation}
* @cliexend
?*/
/* *INDENT-OFF* */