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]); \
} \
{ \
} \
_error; \
})
#define clib_error_return(e, args...)
#define CLIB_STRING_MACRO(x)
uword * init_functions_called
void * vlib_get_plugin_symbol(char *plugin_name, char *symbol_name)
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.
◆ CLIB_PACKED()
typedef CLIB_PACKED |
( |
struct { u8 default_disabled;const char version[32];const char version_required[32];const char overrides[256];const char *early_init;const char *description;} |
| ) |
|
◆ 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