Go to the source code of this file.
#define vlib_call_plugin_init_function |
( |
|
vm, |
|
|
|
p, |
|
|
|
x |
|
) |
| |
Value:({ \
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
#define hash_set1(h, key)
void * vlib_get_plugin_symbol(char *plugin_name, char *symbol_name)
Definition at line 122 of file plugin.h.
#define VLIB_PLUGIN_REGISTER |
( |
| ) |
|
Value:vlib_plugin_registration_t vlib_plugin_registration \
__attribute__((__section__(".vlib_plugin_registration")))
Definition at line 117 of file plugin.h.
typedef CLIB_PACKED |
( |
struct{u8 default_disabled;const char version[32];const char version_required[32];const char *early_init;const char *description;} |
| ) |
|
void* vlib_get_plugin_symbol |
( |
char * |
plugin_name, |
|
|
char * |
symbol_name |
|
) |
| |
u8* vlib_get_vat_plugin_path |
( |
void |
| ) |
|
int vlib_load_new_plugins |
( |
plugin_main_t * |
pm, |
|
|
int |
from_early_init |
|
) |
| |