FD.io VPP  v18.07-rc0-415-g6c78436
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 262 of file main.c.

+ Here is the call graph for this function:

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

Definition at line 98 of file main.c.

+ Here is the call graph for this function:

void os_exit ( int  code)

Definition at line 320 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 306 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 282 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 376 of file main.c.

+ Here is the call graph for this function:

void vhost_user_unmap_all ( void  )

Definition at line 315 of file main.c.

+ Here is the caller graph for this function:

void vl_msg_api_barrier_release ( void  )

Definition at line 354 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 348 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 361 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 72 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 32 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:376

(constructor) VLIB_CLI_COMMAND (test_crash_command)

Definition at line 394 of file main.c.

char* vlib_default_runtime_dir = "vpp"

Definition at line 95 of file main.c.

char* vlib_plugin_app_version = VPP_BUILD_VER

Definition at line 29 of file main.c.

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

Definition at line 28 of file main.c.