FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
application.c File Reference
+ Include dependency graph for application.c:

Go to the source code of this file.

Functions

int application_api_queue_is_full (application_t *app)
 
static void application_table_add (application_t *app)
 
static void application_table_del (application_t *app)
 
application_tapplication_lookup (u32 api_client_index)
 
void application_del (application_t *app)
 
static void application_verify_cb_fns (application_type_t type, session_cb_vft_t *cb_fns)
 
application_tapplication_new (application_type_t type, session_type_t sst, u32 api_client_index, u32 flags, session_cb_vft_t *cb_fns)
 
application_tapplication_get (u32 index)
 
application_tapplication_get_if_valid (u32 index)
 
u32 application_get_index (application_t *app)
 
int application_server_init (application_t *server, u32 segment_size, u32 add_segment_size, u32 rx_fifo_size, u32 tx_fifo_size, u8 **segment_name)
 
u8format_application_server (u8 *s, va_list *args)
 
u8format_application_client (u8 *s, va_list *args)
 
static clib_error_tshow_app_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static application_tapp_pool
 
static uwordapp_by_api_client_index
 
static vlib_cli_command_t show_app_command
 (constructor) VLIB_CLI_COMMAND (show_app_command) More...
 

Function Documentation

int application_api_queue_is_full ( application_t app)

Definition at line 30 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void application_del ( application_t app)

Definition at line 71 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

application_t* application_get ( u32  index)

Definition at line 168 of file application.c.

+ Here is the caller graph for this function:

application_t* application_get_if_valid ( u32  index)

Definition at line 174 of file application.c.

+ Here is the caller graph for this function:

u32 application_get_index ( application_t app)

Definition at line 183 of file application.c.

+ Here is the caller graph for this function:

application_t* application_lookup ( u32  api_client_index)

Definition at line 60 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

application_t* application_new ( application_type_t  type,
session_type_t  sst,
u32  api_client_index,
u32  flags,
session_cb_vft_t cb_fns 
)

Definition at line 109 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_server_init ( application_t server,
u32  segment_size,
u32  add_segment_size,
u32  rx_fifo_size,
u32  tx_fifo_size,
u8 **  segment_name 
)

Definition at line 189 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void application_table_add ( application_t app)
static

Definition at line 48 of file application.c.

+ Here is the caller graph for this function:

static void application_table_del ( application_t app)
static

Definition at line 54 of file application.c.

+ Here is the caller graph for this function:

static void application_verify_cb_fns ( application_type_t  type,
session_cb_vft_t cb_fns 
)
static

Definition at line 96 of file application.c.

+ Here is the caller graph for this function:

u8* format_application_client ( u8 s,
va_list *  args 
)

Definition at line 258 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_application_server ( u8 s,
va_list *  args 
)

Definition at line 215 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 294 of file application.c.

+ Here is the call graph for this function:

Variable Documentation

uword* app_by_api_client_index
static

Definition at line 27 of file application.c.

application_t* app_pool
static

Definition at line 22 of file application.c.

vlib_cli_command_t show_app_command
static
Initial value:
=
{
.path = "show app",
.short_help = "show app [server|client] [verbose]",
.function = show_app_command_fn,
}
static clib_error_t * show_app_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: application.c:294

(constructor) VLIB_CLI_COMMAND (show_app_command)

Definition at line 364 of file application.c.