![]() |
FD.io VPP
v17.04.2-2-ga8f93f8
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | TO_BVI_ERR_OK 0 |
#define | TO_BVI_ERR_BAD_MAC 1 |
#define | TO_BVI_ERR_ETHERTYPE 2 |
Functions | |
static_always_inline u32 | l2_to_bvi (vlib_main_t *vlib_main, vnet_main_t *vnet_main, vlib_buffer_t *b0, u32 bvi_sw_if_index, next_by_ethertype_t *l3_next, u32 *next0) |
Send a packet from L2 processing to L3 via the BVI interface. More... | |
void | l2bvi_register_input_type (vlib_main_t *vm, ethernet_type_t type, u32 node_index) |
static_always_inline u32 l2_to_bvi | ( | vlib_main_t * | vlib_main, |
vnet_main_t * | vnet_main, | ||
vlib_buffer_t * | b0, | ||
u32 | bvi_sw_if_index, | ||
next_by_ethertype_t * | l3_next, | ||
u32 * | next0 | ||
) |
void l2bvi_register_input_type | ( | vlib_main_t * | vm, |
ethernet_type_t | type, | ||
u32 | node_index | ||
) |