FD.io VPP  v17.04.2-2-ga8f93f8
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 358 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 360 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 362 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 375 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 365 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 367 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 369 of file buffer.h.


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