|
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) |
|
u8 * | format_vlib_buffer_contents (u8 *s, va_list *va) |
|
void | vlib_aligned_memcpy (void *_dst, void *_src, int n_bytes) |
|
static void | fill_unaligned (vlib_main_t *vm, vlib_buffer_free_list_t *free_list, uword n_unaligned_buffers) |
|
static void | trim_aligned (vlib_buffer_free_list_t *f) |
|
static void | merge_free_lists (vlib_buffer_free_list_t *dst, vlib_buffer_free_list_t *src) |
|
always_inline u32 | vlib_buffer_get_free_list_with_size (vlib_main_t *vm, u32 size) |
|
static u32 | vlib_buffer_create_free_list_helper (vlib_main_t *vm, u32 n_data_bytes, u32 is_public, u32 is_default, u8 *name) |
|
u32 | vlib_buffer_create_free_list (vlib_main_t *vm, u32 n_data_bytes, char *fmt,...) |
|
u32 | vlib_buffer_get_or_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 (vlib_main_t *vm, u32 free_list_index) |
|
static uword | fill_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *fl, uword min_free_buffers) |
|
always_inline uword | copy_alignment (u32 *x) |
|
static u32 | alloc_from_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *free_list, u32 *alloc_buffers, u32 n_alloc_buffers) |
|
u32 | vlib_buffer_alloc (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
| Allocate buffers into supplied array. More...
|
|
u32 | vlib_buffer_alloc_from_free_list (vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 free_list_index) |
| Allocate buffers from specific freelist into supplied array. More...
|
|
always_inline void | add_buffer_to_free_list (vlib_main_t *vm, vlib_buffer_free_list_t *f, u32 buffer_index, u8 do_init) |
|
always_inline vlib_buffer_free_list_t * | buffer_get_free_list (vlib_main_t *vm, vlib_buffer_t *b, u32 *index) |
|
void * | vlib_set_buffer_free_callback (vlib_main_t *vm, void *fp) |
|
static_always_inline void | vlib_buffer_free_inline (vlib_main_t *vm, u32 *buffers, u32 n_buffers, u32 follow_buffer_next) |
|
void | vlib_buffer_free (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
| Free buffers Frees the entire buffer chain for each buffer. More...
|
|
void | vlib_buffer_free_no_next (vlib_main_t *vm, u32 *buffers, u32 n_buffers) |
| Free buffers, does not free the buffer chain for each buffer. More...
|
|
static void | vlib_packet_template_buffer_init (vlib_main_t *vm, vlib_buffer_free_list_t *fl, 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_physmem_alloc, char *fmt,...) |
|
void * | vlib_packet_template_get_packet (vlib_main_t *vm, vlib_packet_template_t *t, u32 *bi_result) |
|
u32 | vlib_buffer_add_data (vlib_main_t *vm, u32 free_list_index, u32 buffer_index, void *data, u32 n_data_bytes) |
|
u16 | vlib_buffer_chain_append_data_with_alloc (vlib_main_t *vm, u32 free_list_index, vlib_buffer_t *first, vlib_buffer_t **last, void *data, u16 data_len) |
|
void | vlib_buffer_chain_validate (vlib_main_t *vm, vlib_buffer_t *b_first) |
|
clib_error_t * | vlib_buffer_pool_create (vlib_main_t *vm, unsigned num_mbufs, unsigned socket_id) |
|
static void | vlib_serialize_tx (serialize_main_header_t *m, serialize_stream_t *s) |
|
static void | vlib_serialize_rx (serialize_main_header_t *m, serialize_stream_t *s) |
|
static void | serialize_open_vlib_helper (serialize_main_t *m, vlib_main_t *vm, vlib_serialize_buffer_main_t *sm, uword is_read) |
|
void | serialize_open_vlib_buffer (serialize_main_t *m, vlib_main_t *vm, vlib_serialize_buffer_main_t *sm) |
|
void | unserialize_open_vlib_buffer (serialize_main_t *m, vlib_main_t *vm, vlib_serialize_buffer_main_t *sm) |
|
u32 | serialize_close_vlib_buffer (serialize_main_t *m) |
|
void | unserialize_close_vlib_buffer (serialize_main_t *m) |
|
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) |
|
static clib_error_t * | buffer_state_validation_init (vlib_main_t *vm) |
|