FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
main.c File Reference
+ Include dependency graph for main.c:

Go to the source code of this file.

Functions

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_default_runtime_dir = "vpp"
 
char * vlib_plugin_path = "/usr/lib/vpp_plugins"
 
char * vlib_plugin_app_version = VPP_BUILD_VER
 
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 220 of file main.c.

+ Here is the call graph for this function:

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

Definition at line 56 of file main.c.

+ Here is the call graph for this function:

void os_exit ( int  code)

Definition at line 278 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 264 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 240 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 334 of file main.c.

+ Here is the call graph for this function:

void vhost_user_unmap_all ( void  )

Definition at line 273 of file main.c.

+ Here is the caller graph for this function:

void vl_msg_api_barrier_release ( void  )

Definition at line 312 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 306 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 319 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 26 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:334

(constructor) VLIB_CLI_COMMAND (test_crash_command)

Definition at line 352 of file main.c.

char* vlib_default_runtime_dir = "vpp"

Definition at line 47 of file main.c.

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 53 of file main.c.

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

Definition at line 52 of file main.c.