FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
version.c File Reference
+ Include dependency graph for version.c:

Go to the source code of this file.

Functions

static clib_error_tshow_vpe_version_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
char * vpe_api_get_build_directory (void)
 
char * vpe_api_get_version (void)
 
char * vpe_api_get_build_date (void)
 

Variables

static char * vpe_version_string
 
static char * vpe_compiler
 
static vlib_cli_command_t show_vpe_version_command
 (constructor) VLIB_CLI_COMMAND (show_vpe_version_command) More...
 

Function Documentation

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

Definition at line 39 of file version.c.

+ Here is the call graph for this function:

char* vpe_api_get_build_date ( void  )

Definition at line 81 of file version.c.

+ Here is the caller graph for this function:

char* vpe_api_get_build_directory ( void  )

Definition at line 69 of file version.c.

+ Here is the caller graph for this function:

char* vpe_api_get_version ( void  )

Definition at line 75 of file version.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t show_vpe_version_command
static
Initial value:
= {
.path = "show version",
.short_help = "show version information",
}
static clib_error_t * show_vpe_version_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: version.c:39

(constructor) VLIB_CLI_COMMAND (show_vpe_version_command)

Definition at line 61 of file version.c.

char* vpe_compiler
static
Initial value:
=
"unknown compiler"

Definition at line 23 of file version.c.

char* vpe_version_string
static
Initial value:
=
"vpp v" VPP_BUILD_VER
" built by " VPP_BUILD_USER " on " VPP_BUILD_HOST " at " VPP_BUILD_DATE

Definition at line 19 of file version.c.