Go to the source code of this file.
|
typedef | CLIB_PACKED (struct { u32 nitems;u32 msgtbl_size;u8 wrapped;}) vl_api_trace_file_header_t |
|
int | vl_msg_api_trace_save (api_main_t *am, vl_api_trace_which_t which, FILE *fp) |
|
static u32 | vl_msg_api_get_msg_length_inline (void *msg_arg) |
|
int | vl_msg_api_rx_trace_enabled (api_main_t *am) |
|
int | vl_msg_api_tx_trace_enabled (api_main_t *am) |
|
void | vl_msg_api_trace (api_main_t *am, vl_api_trace_t *tp, void *msg) |
|
int | vl_msg_api_trace_onoff (api_main_t *am, vl_api_trace_which_t which, int onoff) |
|
int | vl_msg_api_trace_free (api_main_t *am, vl_api_trace_which_t which) |
|
int | vl_msg_api_trace_configure (api_main_t *am, vl_api_trace_which_t which, u32 nitems) |
|
void | vl_msg_api_handler_with_vm_node (api_main_t *am, void *the_msg, vlib_main_t *vm, vlib_node_runtime_t *node) |
|
vl_api_trace_t * | vl_msg_api_trace_get (api_main_t *am, vl_api_trace_which_t which) |
|
void | vl_msg_api_add_msg_name_crc (api_main_t *am, const char *string, u32 id) |
|
void | vl_msg_api_add_version (api_main_t *am, const char *string, u32 major, u32 minor, u32 patch) |
|
u8 * | vlib_node_serialize (vlib_main_t *vm, vlib_node_t ***node_dups, u8 *vector, int include_nexts, int include_stats) |
|
vlib_node_t *** | vlib_node_unserialize (u8 *vector) |
|
u32 | vl_msg_api_get_msg_length (void *msg_arg) |
|
◆ vl_msg_api_call_reaper_function
#define vl_msg_api_call_reaper_function |
( |
|
ci | ) |
|
Value:({ \
clib_error_t * _error = 0; \
_error = _f (ci); \
})
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
#define VLIB_INIT_FUNCTION_SYMBOL(x)
Definition at line 82 of file api.h.
◆ VL_MSG_API_FUNCTION_SYMBOL
#define VL_MSG_API_FUNCTION_SYMBOL |
( |
|
x | ) |
_VL_MSG_API_FUNCTION_SYMBOL(x, reaper) |
Definition at line 61 of file api.h.
◆ VL_MSG_API_REAPER_FUNCTION
Definition at line 79 of file api.h.
◆ VLIB_API_INIT_FUNCTION
Definition at line 42 of file api.h.
◆ vlib_call_api_init_function
#define vlib_call_api_init_function |
( |
|
vm, |
|
|
|
x |
|
) |
| |
Value:({ \
vlib_init_function_t * _f = _VLIB_INIT_FUNCTION_SYMBOL (x,api_init); \
clib_error_t * _error = 0; \
{ \
} \
_error; \
})
uword * init_functions_called
clib_error_t *() vlib_init_function_t(struct vlib_main_t *vm)
Definition at line 45 of file api.h.
◆ VLIB_DECLARE_REAPER_FUNCTION
#define VLIB_DECLARE_REAPER_FUNCTION |
( |
|
x, |
|
|
|
tag |
|
) |
| |
Value:static void __vl_msg_api_add_##tag##_function_##x (void) \
__attribute__((__constructor__)) ; \
\
static void __vl_msg_api_add_##tag##_function_##x (void) \
{ \
static _vl_msg_api_function_list_elt_t _vl_msg_api_function; \
_vl_msg_api_function.next_init_function \
= am->tag##_function_registrations; \
am->tag##_function_registrations = &_vl_msg_api_function; \
_vl_msg_api_function.f = &x; \
}
clib_error_t *() vl_msg_api_init_function_t(u32 client_index)
Definition at line 64 of file api.h.
◆ CLIB_PACKED()
typedef CLIB_PACKED |
( |
struct { u32 nitems;u32 msgtbl_size;u8 wrapped;} |
| ) |
|
◆ vl_msg_api_add_msg_name_crc()
void vl_msg_api_add_msg_name_crc |
( |
api_main_t * |
am, |
|
|
const char * |
string, |
|
|
u32 |
id |
|
) |
| |
◆ vl_msg_api_add_version()
void vl_msg_api_add_version |
( |
api_main_t * |
am, |
|
|
const char * |
string, |
|
|
u32 |
major, |
|
|
u32 |
minor, |
|
|
u32 |
patch |
|
) |
| |
◆ vl_msg_api_get_msg_length()
u32 vl_msg_api_get_msg_length |
( |
void * |
msg_arg | ) |
|
◆ vl_msg_api_get_msg_length_inline()
static u32 vl_msg_api_get_msg_length_inline |
( |
void * |
msg_arg | ) |
|
|
inlinestatic |
Definition at line 91 of file api.h.
◆ vl_msg_api_handler_with_vm_node()
◆ vl_msg_api_rx_trace_enabled()
int vl_msg_api_rx_trace_enabled |
( |
api_main_t * |
am | ) |
|
◆ vl_msg_api_trace()
◆ vl_msg_api_trace_configure()
◆ vl_msg_api_trace_free()
◆ vl_msg_api_trace_get()
◆ vl_msg_api_trace_onoff()
◆ vl_msg_api_trace_save()
◆ vl_msg_api_tx_trace_enabled()
int vl_msg_api_tx_trace_enabled |
( |
api_main_t * |
am | ) |
|
◆ vlib_node_serialize()
◆ vlib_node_unserialize()