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) |
|
void | vl_socket_api_send (vl_api_registration_t *rp, u8 *elem) |
|
void | vl_msg_api_send (vl_api_registration_t *rp, u8 *elem) |
|
u8 * | vl_api_serialize_message_table (api_main_t *am, u8 *vector) |
|
void | vl_api_memclnt_create_t_handler (vl_api_memclnt_create_t *mp) |
|
int | vl_api_memclnt_delete_callback (u32 client_index) |
|
void | vl_api_memclnt_delete_t_handler (vl_api_memclnt_delete_t *mp) |
|
void | vl_api_get_first_msg_id_t_handler (vl_api_get_first_msg_id_t *mp) |
|
static int | memory_api_init (char *region_name) |
|
static void | memclnt_queue_callback (vlib_main_t *vm) |
|
static uword | memclnt_process (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
static clib_error_t * | vl_api_show_histogram_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_clear_histogram_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
void | vl_enable_disable_memory_api (vlib_main_t *vm, int enable) |
|
static uword | api_rx_from_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | setup_memclnt_exit (vlib_main_t *vm) |
|
static clib_error_t * | vl_api_ring_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
void | dump_socket_clients (vlib_main_t *vm, api_main_t *am) |
|
static clib_error_t * | vl_api_client_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_status_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_message_table_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static clib_error_t * | vl_api_trace_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 (char *name) |
|
static int | range_compare (vl_api_msg_range_t *a0, vl_api_msg_range_t *a1) |
|
static u8 * | format_api_msg_range (u8 *s, va_list *args) |
|
static clib_error_t * | vl_api_show_plugin_command (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd) |
|
static void | vl_api_rpc_call_t_handler (vl_api_rpc_call_t *mp) |
|
static void | vl_api_rpc_reply_t_handler (vl_api_rpc_reply_t *mp) |
|
void | vl_api_rpc_call_main_thread (void *fp, u8 *data, u32 data_length) |
|
static clib_error_t * | rpc_api_hookup (vlib_main_t *vm) |
|
| VLIB_API_INIT_FUNCTION (rpc_api_hookup) |
|
#define foreach_histogram_bucket |
Value:_(400) \
_(200) \
_(100) \
_(10)
Definition at line 374 of file memory_vlib.c.
#define foreach_rpc_api_msg |
Value:_(RPC_CALL,rpc_call) \
_(RPC_REPLY,rpc_reply)
Definition at line 1322 of file memory_vlib.c.
#define foreach_vlib_api_msg |
Value:_(MEMCLNT_CREATE, memclnt_create) \
_(MEMCLNT_DELETE, memclnt_delete) \
_(GET_FIRST_MSG_ID, get_first_msg_id)
Definition at line 335 of file memory_vlib.c.
#define TRACE_VLIB_MEMORY_QUEUE 0 |
#define vl_typedefs /* define message structures */ |
static u8* format_api_msg_range |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static int memory_api_init |
( |
char * |
region_name | ) |
|
|
static |
int vl_api_memclnt_delete_callback |
( |
u32 |
client_index | ) |
|
void vl_api_rpc_call_main_thread |
( |
void * |
fp, |
|
|
u8 * |
data, |
|
|
u32 |
data_length |
|
) |
| |
void vl_enable_disable_memory_api |
( |
vlib_main_t * |
vm, |
|
|
int |
enable |
|
) |
| |
void vl_set_memory_region_name |
( |
char * |
name | ) |
|
Initial value:= {
.vector_size = 4,
.name = "api-rx-from-node",
}
static uword api_rx_from_node(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (api_rx_from_node_node)
Definition at line 797 of file memory_vlib.c.
Initial value:= {
.path = "clear api histogram",
.short_help = "clear api histogram",
}
static clib_error_t * vl_api_clear_histogram_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_clear_api_histogram_command)
Definition at line 691 of file memory_vlib.c.
Initial value:= {
.path = "show api clients",
.short_help = "Client information",
}
static clib_error_t * vl_api_client_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_clients_command)
Definition at line 986 of file memory_vlib.c.
Initial value:= {
.path = "show api",
.short_help = "Show API information",
}
(constructor) VLIB_CLI_COMMAND (cli_show_api_command)
Definition at line 971 of file memory_vlib.c.
Initial value:= {
.path = "show api histogram",
.short_help = "show api histogram",
}
static clib_error_t * vl_api_show_histogram_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_histogram_command)
Definition at line 671 of file memory_vlib.c.
Initial value:= {
.path = "show api message-table",
.short_help = "Message Table",
}
static clib_error_t * vl_api_message_table_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_message_table_command)
Definition at line 1041 of file memory_vlib.c.
Initial value:= {
.path = "show api plugin",
.short_help = "show api plugin",
}
static clib_error_t * vl_api_show_plugin_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_plugin_command)
Definition at line 1209 of file memory_vlib.c.
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 978 of file memory_vlib.c.
Initial value:= {
.path = "show api status",
.short_help = "Show API trace status",
}
static clib_error_t * vl_api_status_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (cli_show_api_status_command)
Definition at line 994 of file memory_vlib.c.
Initial value:= {
.name = "api-rx-from-ring",
.state = VLIB_NODE_STATE_DISABLED,
}
static uword memclnt_process(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
(constructor) VLIB_REGISTER_NODE (memclnt_node)
Definition at line 700 of file memory_vlib.c.
Initial value:= {
.path = "set api-trace",
.short_help = "API trace",
}
static clib_error_t * vl_api_trace_command(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cli_cmd)
(constructor) VLIB_CLI_COMMAND (trace)
Definition at line 1115 of file memory_vlib.c.