FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
version.c File Reference

Display image version information. More...

+ 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)
 Display image version info, a debug CLI command function. More...
 
char * vpe_api_get_build_directory (void)
 Return the image build directory name. More...
 
char * vpe_api_get_version (void)
 Return the image version string. More...
 
char * vpe_api_get_build_date (void)
 return the build date More...
 

Variables

char * vpe_version_string
 The image version string. More...
 
static char * vpe_compiler
 The name of the compiler. More...
 
static vlib_cli_command_t show_vpe_version_command
 (constructor) VLIB_CLI_COMMAND (show_vpe_version_command) More...
 

Detailed Description

Display image version information.

Definition in file version.c.

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

Display image version info, a debug CLI command function.

Definition at line 54 of file version.c.

+ Here is the call graph for this function:

char* vpe_api_get_build_date ( void  )

return the build date

Definition at line 160 of file version.c.

+ Here is the caller graph for this function:

char* vpe_api_get_build_directory ( void  )

Return the image build directory name.

Definition at line 146 of file version.c.

+ Here is the caller graph for this function:

char* vpe_api_get_version ( void  )

Return the image version string.

Definition at line 153 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 [verbose] [cmdline]",
}
static clib_error_t * show_vpe_version_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Display image version info, a debug CLI command function.
Definition: version.c:54

(constructor) VLIB_CLI_COMMAND (show_vpe_version_command)

Definition at line 137 of file version.c.

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

The name of the compiler.

Definition at line 36 of file version.c.

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

The image version string.

Definition at line 31 of file version.c.