FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
vlib_buffer_callbacks_t Struct Reference

Data Fields

u32(* vlib_buffer_alloc_cb )(struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)
 
u32(* vlib_buffer_alloc_from_free_list_cb )(struct vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 free_list_index)
 
void(* vlib_buffer_free_cb )(struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)
 
void(* vlib_buffer_free_no_next_cb )(struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)
 
void(* vlib_packet_template_init_cb )(struct vlib_main_t *vm, void *t, void *packet_data, uword n_packet_data_bytes, uword min_n_buffers_each_physmem_alloc, u8 *name)
 
void(* vlib_buffer_delete_free_list_cb )(struct vlib_main_t *vm, u32 free_list_index)
 

Detailed Description

Definition at line 370 of file buffer.h.

Field Documentation

u32(* vlib_buffer_callbacks_t::vlib_buffer_alloc_cb) (struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)

Definition at line 372 of file buffer.h.

u32(* vlib_buffer_callbacks_t::vlib_buffer_alloc_from_free_list_cb) (struct vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 free_list_index)

Definition at line 374 of file buffer.h.

void(* vlib_buffer_callbacks_t::vlib_buffer_delete_free_list_cb) (struct vlib_main_t *vm, u32 free_list_index)

Definition at line 387 of file buffer.h.

void(* vlib_buffer_callbacks_t::vlib_buffer_free_cb) (struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)

Definition at line 377 of file buffer.h.

void(* vlib_buffer_callbacks_t::vlib_buffer_free_no_next_cb) (struct vlib_main_t *vm, u32 *buffers, u32 n_buffers)

Definition at line 379 of file buffer.h.

void(* vlib_buffer_callbacks_t::vlib_packet_template_init_cb) (struct vlib_main_t *vm, void *t, void *packet_data, uword n_packet_data_bytes, uword min_n_buffers_each_physmem_alloc, u8 *name)

Definition at line 381 of file buffer.h.


The documentation for this struct was generated from the following file: