FD.io VPP  v20.01-48-g3e0dafb74
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_tdummy_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

◆ dummy_path_config()

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

Definition at line 313 of file main.c.

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

◆ elog_post_mortem_dump()

void elog_post_mortem_dump ( void  )

Definition at line 750 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 293 of file main.c.

+ Here is the call graph for this function:

◆ main()

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

Definition at line 100 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 428 of file main.c.

+ Here is the caller graph for this function:

◆ os_exit()

void os_exit ( int  code)

Definition at line 365 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 351 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 332 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 437 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 340 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 360 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 399 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 393 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 902 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 406 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 73 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 37 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:437

(constructor) VLIB_CLI_COMMAND (show_bihash_command)

Definition at line 491 of file main.c.

◆ vat_plugin_path

char* vat_plugin_path = NULL

Definition at line 34 of file main.c.

◆ vlib_default_runtime_dir

char* vlib_default_runtime_dir = "vpp"

Definition at line 97 of file main.c.

◆ vlib_plugin_app_version

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 33 of file main.c.

◆ vlib_plugin_path

char* vlib_plugin_path = NULL

Definition at line 32 of file main.c.