Go to the source code of this file.
|
static void * | vl_api_memclnt_create_t_print (vl_api_memclnt_create_t *a, void *handle) |
|
static void * | vl_api_memclnt_delete_t_print (vl_api_memclnt_delete_t *a, void *handle) |
|
static void | memclnt_queue_callback (vlib_main_t *vm) |
|
u32 | vl_api_memclnt_create_internal (char *name, svm_queue_t *q) |
|
void | vl_api_memclnt_create_t_handler (vl_api_memclnt_create_t *mp) |
|
int | vl_api_call_reaper_functions (u32 client_index) |
|
void | vl_api_memclnt_delete_t_handler (vl_api_memclnt_delete_t *mp) |
|
void | vl_api_memclnt_keepalive_reply_t_handler (vl_api_memclnt_keepalive_reply_t *mp) |
| client answered a ping, stave off the grim reaper... More...
|
|
static void | vl_api_memclnt_keepalive_t_handler (vl_api_memclnt_keepalive_t *mp) |
| We can send ourselves these messages if someone uses the builtin binary api test tool... More...
|
|
int | vl_mem_api_init (const char *region_name) |
|
clib_error_t * | map_api_segment_init (vlib_main_t *vm) |
|
static void | send_memclnt_keepalive (vl_api_registration_t *regp, f64 now) |
|
static void | vl_mem_send_client_keepalive_w_reg (api_main_t *am, f64 now, vl_api_registration_t **regpp, u32 **dead_indices, u32 **confused_indices) |
|
void | vl_mem_api_dead_client_scan (api_main_t *am, vl_shmem_hdr_t *shm, f64 now) |
|
static int | void_mem_api_handle_msg_i (api_main_t *am, vlib_main_t *vm, vlib_node_runtime_t *node, svm_queue_t *q) |
|
int | vl_mem_api_handle_msg_main (vlib_main_t *vm, vlib_node_runtime_t *node) |
|
int | vl_mem_api_handle_rpc (vlib_main_t *vm, vlib_node_runtime_t *node) |
|
int | vl_mem_api_handle_msg_private (vlib_main_t *vm, vlib_node_runtime_t *node, u32 reg_index) |
|
vl_api_registration_t * | vl_mem_api_client_index_to_registration (u32 handle) |
|
svm_queue_t * | vl_api_client_index_to_input_queue (u32 index) |
|
static clib_error_t * | setup_memclnt_exit (vlib_main_t *vm) |
|
u8 * | format_api_message_rings (u8 *s, va_list *args) |
|
static clib_error_t * | vl_api_ring_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
clib_error_t * | vlibmemory_init (vlib_main_t *vm) |
|
void | vl_set_memory_region_name (const char *name) |
|
#define foreach_vlib_api_msg |
Value:_(MEMCLNT_CREATE, memclnt_create) \
_(MEMCLNT_DELETE, memclnt_delete) \
_(MEMCLNT_KEEPALIVE, memclnt_keepalive) \
_(MEMCLNT_KEEPALIVE_REPLY, memclnt_keepalive_reply) \
Definition at line 423 of file memory_api.c.
#define vl_typedefs /* define message structures */ |
u8* format_api_message_rings |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
int vl_api_call_reaper_functions |
( |
u32 |
client_index | ) |
|
void vl_api_memclnt_keepalive_reply_t_handler |
( |
vl_api_memclnt_keepalive_reply_t * |
mp | ) |
|
client answered a ping, stave off the grim reaper...
Definition at line 387 of file memory_api.c.
We can send ourselves these messages if someone uses the builtin binary api test tool...
Definition at line 407 of file memory_api.c.
int vl_mem_api_init |
( |
const char * |
region_name | ) |
|
void vl_set_memory_region_name |
( |
const char * |
name | ) |
|
Initial value:=
{
.path = "show api ring-stats",
.short_help = "Message ring statistics",
}
static clib_error_t * vl_api_ring_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_ring_command)
Definition at line 927 of file memory_api.c.
volatile int** vl_api_queue_cursizes |