FD.io VPP  v17.07.01-10-g3be13f0
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.

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)
 

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_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 88 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 189 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 325 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 195 of file application.c.

+ Here is the caller graph for this function:

u32 application_get_index ( application_t app)

Definition at line 204 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 332 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 144 of file application.c.

+ Here is the call graph for this function:

+ 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 298 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 235 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 271 of file application.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: