Go to the source code of this file.
|
void * | vlib_get_plugin_symbol (char *plugin_name, char *symbol_name) |
|
static char * | str_array_to_vec (char *array, int len) |
|
static u8 * | extract (u8 *sp, u8 *ep) |
|
static clib_error_t * | r2_to_reg (elf_main_t *em, vlib_plugin_r2_t *r2, vlib_plugin_registration_t *reg) |
|
static int | load_one_plugin (plugin_main_t *pm, plugin_info_t *pi, int from_early_init) |
|
static u8 ** | split_plugin_path (plugin_main_t *pm) |
|
static int | plugin_name_sort_cmp (void *a1, void *a2) |
|
static int | index_cmp (void *a1, void *a2) |
|
int | vlib_load_new_plugins (plugin_main_t *pm, int from_early_init) |
|
int | vlib_plugin_early_init (vlib_main_t *vm) |
|
u8 * | vlib_get_vat_plugin_path (void) |
|
u8 * | vlib_get_vat_plugin_name_filter (void) |
|
static clib_error_t * | vlib_plugins_show_cmd_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | config_one_plugin (vlib_main_t *vm, char *name, unformat_input_t *input) |
|
clib_error_t * | vlib_plugin_config (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | plugins_config (vlib_main_t *vm, unformat_input_t *input) |
|
◆ PLUGIN_LOG_DBG
◆ PLUGIN_LOG_ERR
#define PLUGIN_LOG_ERR |
( |
|
... | ) |
do {vlib_log_err (vlib_plugin_main.logger, __VA_ARGS__);} while(0) |
◆ PLUGIN_LOG_NOTICE
◆ config_one_plugin()
◆ extract()
static u8* extract |
( |
u8 * |
sp, |
|
|
u8 * |
ep |
|
) |
| |
|
static |
◆ index_cmp()
static int index_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ load_one_plugin()
◆ plugin_name_sort_cmp()
static int plugin_name_sort_cmp |
( |
void * |
a1, |
|
|
void * |
a2 |
|
) |
| |
|
static |
◆ plugins_config()
◆ r2_to_reg()
◆ split_plugin_path()
◆ str_array_to_vec()
static char* str_array_to_vec |
( |
char * |
array, |
|
|
int |
len |
|
) |
| |
|
static |
◆ vlib_get_plugin_symbol()
void* vlib_get_plugin_symbol |
( |
char * |
plugin_name, |
|
|
char * |
symbol_name |
|
) |
| |
◆ vlib_get_vat_plugin_name_filter()
u8* vlib_get_vat_plugin_name_filter |
( |
void |
| ) |
|
◆ vlib_get_vat_plugin_path()
u8* vlib_get_vat_plugin_path |
( |
void |
| ) |
|
◆ vlib_load_new_plugins()
int vlib_load_new_plugins |
( |
plugin_main_t * |
pm, |
|
|
int |
from_early_init |
|
) |
| |
◆ vlib_plugin_config()
◆ vlib_plugin_early_init()
◆ vlib_plugins_show_cmd_fn()
◆ plugins_show_cmd
Initial value:=
{
.path = "show plugins",
.short_help = "show loaded plugins",
}
(constructor) VLIB_CLI_COMMAND (plugins_show_cmd)
Definition at line 656 of file plugin.c.
◆ vlib_plugin_app_version
char * vlib_plugin_app_version = "" |
◆ vlib_plugin_main
◆ vlib_plugin_path
char * vlib_plugin_path = "" |