Go to the source code of this file.
◆ foreach_trace_plugin_api_msg
#define foreach_trace_plugin_api_msg |
Value:_(TRACE_PROFILE_ADD, trace_profile_add) \
_(TRACE_PROFILE_DEL, trace_profile_del) \
_(TRACE_PROFILE_SHOW_CONFIG, trace_profile_show_config)
Definition at line 98 of file trace_api.c.
◆ TRACE_REPLY_MACRO
#define TRACE_REPLY_MACRO |
( |
|
t | ) |
|
Value:do { \
svm_queue_t * q = \
vl_api_client_index_to_input_queue (mp->client_index); \
if (!q) \
return; \
\
rmp->_vl_msg_id = ntohs((t)+sm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv);
\} while(0);
void * vl_msg_api_alloc(int nbytes)
void vl_msg_api_send_shmem(svm_queue_t *q, u8 *elem)
Definition at line 63 of file trace_api.c.
◆ TRACE_REPLY_MACRO2
#define TRACE_REPLY_MACRO2 |
( |
|
t, |
|
|
|
body |
|
) |
| |
Value:do { \
svm_queue_t * q; \
if (!q) \
return; \
\
rmp->_vl_msg_id = ntohs((t)+sm->msg_id_base); \
rmp->context = mp->context; \
rmp->retval = ntohl(rv); \
do {body;} while (0); \
vl_msg_api_send_shmem (q, (
u8 *)&rmp); \
} while(0);
int vl_msg_api_pd_handler(void *mp, int rv)
void * vl_msg_api_alloc(int nbytes)
svm_queue_t * vl_api_client_index_to_input_queue(u32 index)
Definition at line 79 of file trace_api.c.
◆ vl_api_version
#define vl_api_version |
( |
|
n, |
|
|
|
v |
|
) |
| static u32 api_version=(v); |
◆ vl_endianfun
◆ vl_msg_name_crc_list
#define vl_msg_name_crc_list |
◆ vl_print
◆ vl_printfun
◆ vl_typedefs
◆ setup_message_id_table()
◆ trace_init()
◆ trace_plugin_api_hookup()
◆ vl_api_trace_profile_add_t_handler()
◆ vl_api_trace_profile_del_t_handler()
◆ vl_api_trace_profile_show_config_t_handler()