|
uword | vlib_buffer_length_in_chain_slow_path (vlib_main_t *vm, vlib_buffer_t *b_first) |
|
u8 * | format_vlib_buffer (u8 *s, va_list *args) |
|
u8 * | format_vlib_buffer_and_data (u8 *s, va_list *args) |
|
static u8 * | format_vlib_buffer_known_state (u8 *s, va_list *args) |
|
u8 * | format_vlib_buffer_contents (u8 *s, va_list *va) |
|
static u8 * | vlib_validate_buffer_helper (vlib_main_t *vm, u32 bi, uword follow_buffer_next, uword **unique_hash) |
|
u8 * | vlib_validate_buffer (vlib_main_t *vm, u32 bi, uword follow_buffer_next) |
|
u8 * | vlib_validate_buffers (vlib_main_t *vm, u32 *buffers, uword next_buffer_stride, uword n_buffers, vlib_buffer_known_state_t known_state, uword follow_buffer_next) |
|
void | vlib_buffer_validate_alloc_free (vlib_main_t *vm, u32 *buffers, uword n_buffers, vlib_buffer_known_state_t expected_state) |
|
static vlib_buffer_free_list_index_t | vlib_buffer_create_free_list_helper (vlib_main_t *vm, u32 n_data_bytes, u32 is_public, u32 is_default, u8 *name) |
|
vlib_buffer_free_list_index_t | vlib_buffer_create_free_list (vlib_main_t *vm, u32 n_data_bytes, char *fmt,...) |
|
static void | del_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *f) |
|
void | vlib_buffer_delete_free_list_internal (vlib_main_t *vm, vlib_buffer_free_list_index_t index) |
|
static_always_inline void * | vlib_buffer_pool_get_buffer (vlib_main_t *vm, vlib_buffer_pool_t *bp) |
|
static uword | vlib_buffer_fill_free_list_internal (vlib_main_t *vm, vlib_buffer_free_list_t *fl, uword min_free_buffers) |
|
void * | vlib_set_buffer_free_callback (vlib_main_t *vm, void *fp) |
|
static_always_inline void | recycle_or_free (vlib_main_t *vm, vlib_buffer_main_t *bm, u32 bi, vlib_buffer_t *b, u32 follow_buffer_next) |
|
static_always_inline void | vlib_buffer_free_inline (vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 follow_buffer_next) |
|
static void | vlib_buffer_free_internal (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
|
static void | vlib_buffer_free_no_next_internal (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
|
void | vlib_packet_template_init (vlib_main_t *vm, vlib_packet_template_t *t, void *packet_data, uword n_packet_data_bytes, uword min_n_buffers_each_alloc, char *fmt,...) |
|
void * | vlib_packet_template_get_packet (vlib_main_t *vm, vlib_packet_template_t *t, u32 *bi_result) |
|
int | vlib_buffer_add_data (vlib_main_t *vm, vlib_buffer_free_list_index_t free_list_index, u32 *buffer_index, void *data, u32 n_data_bytes) |
|
u16 | vlib_buffer_chain_append_data_with_alloc (vlib_main_t *vm, vlib_buffer_free_list_index_t free_list_index, vlib_buffer_t *first, vlib_buffer_t **last, void *data, u16 data_len) |
|
u8 | vlib_buffer_register_physmem_map (vlib_main_t *vm, u32 physmem_map_index) |
|
static u8 * | format_vlib_buffer_free_list (u8 *s, va_list *va) |
|
static clib_error_t * | show_buffers (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | vlib_buffer_main_init (struct vlib_main_t *vm) |
|
static clib_error_t * | vlib_buffers_configure (vlib_main_t *vm, unformat_input_t *input) |
|
Allocate/free network buffers.
Definition in file buffer.c.