FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
main.c File Reference
+ Include dependency graph for main.c:

Go to the source code of this file.

Data Structures

struct  name_sort_t
 

Functions

static void vpp_find_plugin_path ()
 
static void vpe_main_init (vlib_main_t *vm)
 
int main (int argc, char *argv[])
 
static clib_error_theapsize_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_tplaceholder_path_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_tplugin_path_config (vlib_main_t *vm, unformat_input_t *input)
 
static clib_error_ttest_plugin_path_config (vlib_main_t *vm, unformat_input_t *input)
 
void vl_msg_api_post_mortem_dump (void)
 
void elog_post_mortem_dump (void)
 
void os_panic (void)
 
void vhost_user_unmap_all (void)
 
void os_exit (int code)
 
void vl_msg_api_barrier_sync (void)
 
void vl_msg_api_barrier_release (void)
 
u32 vlib_app_num_thread_stacks_needed (void)
 
static int name_sort_cmp (void *a1, void *a2)
 
static clib_error_tshow_bihash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

char * vlib_plugin_path = NULL
 
char * vlib_plugin_app_version = VPP_BUILD_VER
 
char * vat_plugin_path = NULL
 
char * vlib_default_runtime_dir = "vpp"
 
static vlib_cli_command_t show_bihash_command
 (constructor) VLIB_CLI_COMMAND (show_bihash_command) More...
 

Function Documentation

◆ elog_post_mortem_dump()

void elog_post_mortem_dump ( void  )

Definition at line 737 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ heapsize_config()

static clib_error_t* heapsize_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 306 of file main.c.

+ Here is the call graph for this function:

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 106 of file main.c.

+ Here is the call graph for this function:

◆ name_sort_cmp()

static int name_sort_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 441 of file main.c.

+ Here is the caller graph for this function:

◆ os_exit()

void os_exit ( int  code)

Definition at line 378 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ os_panic()

void os_panic ( void  )

Definition at line 364 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ placeholder_path_config()

static clib_error_t* placeholder_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 326 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ plugin_path_config()

static clib_error_t* plugin_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 345 of file main.c.

+ Here is the call graph for this function:

◆ show_bihash_command_fn()

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

Definition at line 450 of file main.c.

+ Here is the call graph for this function:

◆ test_plugin_path_config()

static clib_error_t* test_plugin_path_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 353 of file main.c.

+ Here is the call graph for this function:

◆ vhost_user_unmap_all()

void vhost_user_unmap_all ( void  )

Definition at line 373 of file main.c.

+ Here is the caller graph for this function:

◆ vl_msg_api_barrier_release()

void vl_msg_api_barrier_release ( void  )

Definition at line 412 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_msg_api_barrier_sync()

void vl_msg_api_barrier_sync ( void  )

Definition at line 406 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_msg_api_post_mortem_dump()

void vl_msg_api_post_mortem_dump ( void  )

Definition at line 955 of file api_shared.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_app_num_thread_stacks_needed()

u32 vlib_app_num_thread_stacks_needed ( void  )

Definition at line 419 of file main.c.

+ Here is the caller graph for this function:

◆ vpe_main_init()

static void vpe_main_init ( vlib_main_t vm)
static

Definition at line 75 of file main.c.

+ Here is the call graph for this function:

◆ vpp_find_plugin_path()

static void vpp_find_plugin_path ( )
static

Definition at line 39 of file main.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ show_bihash_command

vlib_cli_command_t show_bihash_command
static
Initial value:
=
{
.path = "show bihash",
.short_help = "show bihash",
}
static clib_error_t * show_bihash_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: main.c:450

(constructor) VLIB_CLI_COMMAND (show_bihash_command)

Definition at line 504 of file main.c.

◆ vat_plugin_path

char* vat_plugin_path = NULL

Definition at line 36 of file main.c.

◆ vlib_default_runtime_dir

char* vlib_default_runtime_dir = "vpp"

Definition at line 103 of file main.c.

◆ vlib_plugin_app_version

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 35 of file main.c.

◆ vlib_plugin_path

char* vlib_plugin_path = NULL

Definition at line 34 of file main.c.