32 n_left = frame->n_vectors;
38 sw_if_index = sw_if_indices;
107 return frame->n_vectors;
VNET_DEVICE_CLASS_TX_FN() bvi_device_class(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
send packets to l2-input.
vl_api_interface_index_t sw_if_index
#define vlib_prefetch_buffer_header(b, type)
Prefetch buffer metadata.
#define VNET_DEVICE_CLASS_TX_FN(devclass)
static_always_inline void vlib_buffer_enqueue_to_next(vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, u16 *nexts, uword count)
#define vlib_prefetch_buffer_data(b, type)
static_always_inline void clib_memset_u16(void *p, u16 val, uword count)
VLIB buffer representation.
static void * vlib_frame_vector_args(vlib_frame_t *f)
Get pointer to frame vector data.
static_always_inline void vlib_get_buffers(vlib_main_t *vm, u32 *bi, vlib_buffer_t **b, int count)
Translate array of buffer indices into buffer pointers.