FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
plugin.c File Reference
+ Include dependency graph for plugin.c:

Go to the source code of this file.

Functions

void vlib_set_get_handoff_structure_cb (void *cb)
 
static void * vnet_get_handoff_structure (void)
 
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)
 
int vlib_load_new_plugins (plugin_main_t *pm, int from_early_init)
 
int vlib_plugin_early_init (vlib_main_t *vm)
 
static clib_error_tvlib_plugins_show_cmd_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

plugin_main_t vlib_plugin_main
 
char * vlib_plugin_path = ""
 
char * vlib_plugin_name_filter = 0
 
static vlib_cli_command_t plugins_show_cmd
 (constructor) VLIB_CLI_COMMAND (plugins_show_cmd) More...
 

Function Documentation

static int load_one_plugin ( plugin_main_t pm,
plugin_info_t pi,
int  from_early_init 
)
static

Definition at line 44 of file plugin.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8** split_plugin_path ( plugin_main_t pm)
static

Definition at line 98 of file plugin.c.

+ Here is the caller graph for this function:

int vlib_load_new_plugins ( plugin_main_t pm,
int  from_early_init 
)

Definition at line 125 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 207 of file plugin.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* vlib_plugins_show_cmd_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 225 of file plugin.c.

+ Here is the call graph for this function:

void vlib_set_get_handoff_structure_cb ( void *  cb)

Definition at line 25 of file plugin.c.

+ Here is the caller graph for this function:

static void* vnet_get_handoff_structure ( void  )
static

Definition at line 32 of file plugin.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t plugins_show_cmd
static
Initial value:
=
{
.path = "show plugins",.short_help = "show loaded plugins",.function =
static clib_error_t * vlib_plugins_show_cmd_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: plugin.c:225

(constructor) VLIB_CLI_COMMAND (plugins_show_cmd)

Definition at line 250 of file plugin.c.

plugin_main_t vlib_plugin_main

Definition at line 22 of file plugin.c.

char * vlib_plugin_name_filter = 0

Definition at line 203 of file plugin.c.

char * vlib_plugin_path = ""

Definition at line 201 of file plugin.c.