Go to the source code of this file.
◆ foreach_r2_string_field
#define foreach_r2_string_field |
Value:
_(version_required) \
_(overrides) \
_(early_init) \
_(description)
Definition at line 90 of file plugin.h.
◆ vlib_call_plugin_init_function
#define vlib_call_plugin_init_function |
( |
|
vm, |
|
|
|
p, |
|
|
|
x |
|
) |
| |
Value:({ \
uword *_fptr = 0; \
clib_error_t * _error = 0; \
if (_fptr == 0) \
{ \
(0, "Plugin %s and/or symbol %s not found.", \
} \
else \
{ \
_f = (void *)(_fptr[0]); \
} \
if (_fptr && !
hash_get (
vm->init_functions_called, _f)) \
{ \
hash_set1 (
vm->init_functions_called, _f); \
} \
_error; \
})
Definition at line 156 of file plugin.h.
◆ VLIB_PLUGIN_REGISTER
#define VLIB_PLUGIN_REGISTER |
( |
| ) |
|
Value: vlib_plugin_registration_t vlib_plugin_registration \
CLIB_NOSANITIZE_PLUGIN_REG_SECTION \
__clib_export __clib_section(".vlib_plugin_registration")
Definition at line 150 of file plugin.h.
◆ vlib_get_plugin_symbol()
void* vlib_get_plugin_symbol |
( |
char * |
plugin_name, |
|
|
char * |
symbol_name |
|
) |
| |
◆ 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_plugin_main