Go to the source code of this file.
|
typedef | CLIB_PACKED (struct{u8 endian;u8 wrapped;u32 nitems;}) 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) |
|
u8 * | vlib_node_serialize (vlib_node_main_t *nm, u8 *vector, u32 max_threads, int include_nexts, int include_stats) |
|
vlib_node_t ** | vlib_node_unserialize (u8 *vector) |
|
u32 | vl_msg_api_get_msg_length (void *msg_arg) |
|
#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 84 of file api.h.
#define VL_MSG_API_FUNCTION_SYMBOL |
( |
|
x | ) |
_VL_MSG_API_FUNCTION_SYMBOL(x, reaper) |
Definition at line 63 of file api.h.
Definition at line 81 of file api.h.
Definition at line 43 of file api.h.
#define vlib_call_api_init_function |
( |
|
vm, |
|
|
|
x |
|
) |
| |
Value:({ \
clib_error_t * _error = 0; \
if (!
hash_get (vm->init_functions_called, _f)) \
_error = _f (vm); \
} \
_error; \
})
clib_error_t *( vlib_init_function_t)(struct vlib_main_t *vm)
#define hash_set1(h, key)
Definition at line 46 of file api.h.
#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 66 of file api.h.
typedef CLIB_PACKED |
( |
struct{u8 endian;u8 wrapped;u32 nitems;} |
| ) |
|
void vl_msg_api_add_msg_name_crc |
( |
api_main_t * |
am, |
|
|
const char * |
string, |
|
|
u32 |
id |
|
) |
| |
u32 vl_msg_api_get_msg_length |
( |
void * |
msg_arg | ) |
|
static u32 vl_msg_api_get_msg_length_inline |
( |
void * |
msg_arg | ) |
|
|
inlinestatic |
Definition at line 93 of file api.h.
int vl_msg_api_rx_trace_enabled |
( |
api_main_t * |
am | ) |
|
int vl_msg_api_tx_trace_enabled |
( |
api_main_t * |
am | ) |
|
u8* vlib_node_serialize |
( |
vlib_node_main_t * |
nm, |
|
|
u8 * |
vector, |
|
|
u32 |
max_threads, |
|
|
int |
include_nexts, |
|
|
int |
include_stats |
|
) |
| |