FD.io VPP  v19.08-27-gf4dcae4
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

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:

void elog_post_mortem_dump ( void  )

Definition at line 752 of file main.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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

Definition at line 100 of file main.c.

+ Here is the call graph for this function:

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:

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:

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:

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:

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:

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:

void vhost_user_unmap_all ( void  )

Definition at line 360 of file main.c.

+ Here is the caller graph for this function:

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:

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:

void vl_msg_api_post_mortem_dump ( void  )

Definition at line 879 of file api_shared.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 vlib_app_num_thread_stacks_needed ( void  )

Definition at line 406 of file main.c.

+ Here is the caller graph for this function:

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:

+ Here is the caller graph for this function:

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

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.

char* vat_plugin_path = NULL

Definition at line 34 of file main.c.

char* vlib_default_runtime_dir = "vpp"

Definition at line 97 of file main.c.

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 33 of file main.c.

char* vlib_plugin_path = NULL

Definition at line 32 of file main.c.