FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
application.h File Reference
+ Include dependency graph for application.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define APP_INVALID_SEGMENT_MANAGER_INDEX   ((u32) ~0)
 

Typedefs

typedef struct _stream_session_cb_vft session_cb_vft_t
 
typedef struct _application application_t
 

Enumerations

enum  application_type_t { APP_SERVER, APP_CLIENT, APP_N_TYPES }
 

Functions

application_tapplication_new ()
 
int application_init (application_t *app, u32 api_client_index, u64 *options, session_cb_vft_t *cb_fns)
 
void application_del (application_t *app)
 
application_tapplication_get (u32 index)
 
application_tapplication_get_if_valid (u32 index)
 
application_tapplication_lookup (u32 api_client_index)
 
u32 application_get_index (application_t *app)
 
int application_start_listen (application_t *app, session_type_t session_type, transport_endpoint_t *tep, u64 *handle)
 Start listening local transport endpoint for requested transport. More...
 
int application_stop_listen (application_t *srv, u64 handle)
 Stop listening on session associated to handle. More...
 
int application_open_session (application_t *app, session_type_t sst, transport_endpoint_t *tep, u32 api_context)
 
int application_api_queue_is_full (application_t *app)
 
segment_manager_tapplication_get_listen_segment_manager (application_t *app, stream_session_t *s)
 
segment_manager_tapplication_get_connect_segment_manager (application_t *app)
 
int application_is_proxy (application_t *app)
 
int application_add_segment_notify (u32 app_index, u32 fifo_segment_index)
 

Macro Definition Documentation

#define APP_INVALID_SEGMENT_MANAGER_INDEX   ((u32) ~0)

Definition at line 98 of file application.h.

Typedef Documentation

typedef struct _application application_t
typedef struct _stream_session_cb_vft session_cb_vft_t

Enumeration Type Documentation

Enumerator
APP_SERVER 
APP_CLIENT 
APP_N_TYPES 

Definition at line 23 of file application.h.

Function Documentation

int application_add_segment_notify ( u32  app_index,
u32  fifo_segment_index 
)

Definition at line 409 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_api_queue_is_full ( application_t app)

Definition at line 36 of file application.c.

+ Here is the call graph for this function:

void application_del ( application_t app)

Definition at line 91 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 224 of file application.c.

+ Here is the caller graph for this function:

segment_manager_t* application_get_connect_segment_manager ( application_t app)

Definition at line 371 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

application_t* application_get_if_valid ( u32  index)

Definition at line 230 of file application.c.

+ Here is the caller graph for this function:

u32 application_get_index ( application_t app)

Definition at line 239 of file application.c.

+ Here is the caller graph for this function:

segment_manager_t* application_get_listen_segment_manager ( application_t app,
stream_session_t s 
)

Definition at line 378 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_init ( application_t app,
u32  api_client_index,
u64 options,
session_cb_vft_t cb_fns 
)

Definition at line 171 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_is_proxy ( application_t app)

Definition at line 403 of file application.c.

+ Here is the caller graph for this function:

application_t* application_lookup ( u32  api_client_index)

Definition at line 66 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

application_t* application_new ( )

Definition at line 77 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_open_session ( application_t app,
session_type_t  sst,
transport_endpoint_t tep,
u32  api_context 
)

Definition at line 344 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_start_listen ( application_t srv,
session_type_t  session_type,
transport_endpoint_t tep,
u64 res 
)

Start listening local transport endpoint for requested transport.

Creates a 'dummy' stream session with state LISTENING to be used in session lookups, prior to establishing connection. Requests transport to build it's own specific listening connection.

Definition at line 272 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int application_stop_listen ( application_t srv,
u64  handle 
)

Stop listening on session associated to handle.

Definition at line 308 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: