FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
plugin.h File Reference
+ Include dependency graph for plugin.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  plugin_info_t
 
struct  plugin_config_t
 
struct  plugin_main_t
 

Macros

#define VLIB_PLUGIN_REGISTER()
 

Functions

typedef CLIB_PACKED (struct{u8 default_disabled;const char version[32];const char version_required[32];const char *early_init;const char *description;}) vlib_plugin_registration_t
 
clib_error_tvlib_plugin_config (vlib_main_t *vm, unformat_input_t *input)
 
int vlib_plugin_early_init (vlib_main_t *vm)
 
int vlib_load_new_plugins (plugin_main_t *pm, int from_early_init)
 
void * vlib_get_plugin_symbol (char *plugin_name, char *symbol_name)
 

Variables

plugin_main_t vlib_plugin_main
 

Macro Definition Documentation

#define VLIB_PLUGIN_REGISTER ( )
Value:
vlib_plugin_registration_t vlib_plugin_registration \
__attribute__((__section__(".vlib_plugin_registration")))

Definition at line 114 of file plugin.h.

Function Documentation

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 
)

Definition at line 31 of file plugin.c.

int vlib_load_new_plugins ( plugin_main_t pm,
int  from_early_init 
)

Definition at line 232 of file plugin.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vlib_plugin_config ( vlib_main_t vm,
unformat_input_t input 
)

Definition at line 462 of file plugin.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vlib_plugin_early_init ( vlib_main_t vm)

Definition at line 349 of file plugin.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

plugin_main_t vlib_plugin_main

Definition at line 23 of file plugin.c.