FD.io VPP  v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
main.c File Reference
+ Include dependency graph for main.c:

Go to the source code of this file.

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_tplugin_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 clib_error_ttest_crash_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

char * vlib_plugin_path = "/usr/lib/vpp_plugins"
 
char * vlib_plugin_app_version = VPP_BUILD_VER
 
char * vlib_default_runtime_dir = "vpp"
 
static vlib_cli_command_t test_crash_command
 (constructor) VLIB_CLI_COMMAND (test_crash_command) More...
 

Function Documentation

void elog_post_mortem_dump ( void  )

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

+ Here is the call graph for this function:

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

Definition at line 102 of file main.c.

+ Here is the call graph for this function:

void os_exit ( int  code)

Definition at line 341 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 327 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 303 of file main.c.

+ Here is the call graph for this function:

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

Definition at line 397 of file main.c.

+ Here is the call graph for this function:

void vhost_user_unmap_all ( void  )

Definition at line 336 of file main.c.

+ Here is the caller graph for this function:

void vl_msg_api_barrier_release ( void  )

Definition at line 375 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 369 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 794 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 382 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 76 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 36 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 test_crash_command
static
Initial value:
= {
.path = "test crash",
.short_help = "crash the bus!",
.function = test_crash_command_fn,
}
static clib_error_t * test_crash_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: main.c:397

(constructor) VLIB_CLI_COMMAND (test_crash_command)

Definition at line 415 of file main.c.

char* vlib_default_runtime_dir = "vpp"

Definition at line 99 of file main.c.

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 33 of file main.c.

char* vlib_plugin_path = "/usr/lib/vpp_plugins"

Definition at line 32 of file main.c.