FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
api_main.c File Reference
+ Include dependency graph for api_main.c:

Go to the source code of this file.

Functions

void vat_suspend (vlib_main_t *vm, f64 interval)
 
static u8format_api_error (u8 *s, va_list *args)
 
static void init_error_string_table (vat_main_t *vam)
 
static clib_error_tapi_main_init (vlib_main_t *vm)
 
void vat_plugin_hash_create (void)
 
static void maybe_register_api_client (vat_main_t *vam)
 
static clib_error_tapi_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
void api_cli_output (void *notused, const char *fmt,...)
 
u16 vl_client_get_first_plugin_msg_id (const char *plugin_name)
 
uword unformat_sw_if_index (unformat_input_t *input, va_list *args)
 

Variables

vat_main_t vat_main
 
static vlib_cli_command_t api_command
 (constructor) VLIB_CLI_COMMAND (api_command) More...
 

Function Documentation

void api_cli_output ( void *  notused,
const char *  fmt,
  ... 
)

Definition at line 236 of file api_main.c.

+ Here is the call graph for this function:

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

Definition at line 119 of file api_main.c.

+ Here is the call graph for this function:

static clib_error_t* api_main_init ( vlib_main_t vm)
static

Definition at line 42 of file api_main.c.

+ Here is the call graph for this function:

static u8* format_api_error ( u8 s,
va_list *  args 
)
static

Definition at line 12 of file api_main.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void init_error_string_table ( vat_main_t *  vam)
static

Definition at line 29 of file api_main.c.

+ Here is the caller graph for this function:

static void maybe_register_api_client ( vat_main_t *  vam)
static

Definition at line 75 of file api_main.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword unformat_sw_if_index ( unformat_input_t input,
va_list *  args 
)

Definition at line 277 of file api_main.c.

+ Here is the call graph for this function:

void vat_plugin_hash_create ( void  )

Definition at line 65 of file api_main.c.

+ Here is the caller graph for this function:

void vat_suspend ( vlib_main_t vm,
f64  interval 
)

Definition at line 6 of file api_main.c.

+ Here is the call graph for this function:

u16 vl_client_get_first_plugin_msg_id ( const char *  plugin_name)

Definition at line 261 of file api_main.c.

Variable Documentation

vlib_cli_command_t api_command
static
Initial value:
=
{
.path = "binary-api",
.short_help = "binary-api [help] <name> [<args>]",
.function = api_command_fn,
}
static clib_error_t * api_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: api_main.c:119

(constructor) VLIB_CLI_COMMAND (api_command)

Definition at line 227 of file api_main.c.

vat_main_t vat_main

Definition at line 3 of file api_main.c.