FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
application_interface.h File Reference
+ Include dependency graph for application_interface.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SESSION_OPTIONS_FLAGS_USE_FIFO   (1<<0)
 Server can handle delegated connect requests from local clients. More...
 
#define SESSION_OPTIONS_FLAGS_ADD_SEGMENT   (1<<1)
 Server wants vpp to add segments when out of memory for fifos. More...
 
#define VNET_CONNECT_REDIRECTED   123
 

Typedefs

typedef enum _session_api_proto session_api_proto_t
 
typedef struct _vnet_bind_args_t vnet_bind_args_t
 
typedef struct _vnet_unbind_args_t vnet_unbind_args_t
 
typedef struct _vnet_connect_args vnet_connect_args_t
 
typedef struct _vnet_disconnect_args_t vnet_disconnect_args_t
 

Enumerations

enum  session_options_index_t {
  SESSION_OPTIONS_FLAGS, SESSION_OPTIONS_SEGMENT_SIZE, SESSION_OPTIONS_ADD_SEGMENT_SIZE, SESSION_OPTIONS_RX_FIFO_SIZE,
  SESSION_OPTIONS_TX_FIFO_SIZE, SESSION_OPTIONS_ACCEPT_COOKIE, SESSION_OPTIONS_N_OPTIONS
}
 

Functions

int vnet_bind_uri (vnet_bind_args_t *)
 
int vnet_unbind_uri (char *uri, u32 api_client_index)
 
int vnet_connect_uri (vnet_connect_args_t *a)
 
int vnet_disconnect_session (u32 session_index, u32 thread_index)
 
int vnet_bind (vnet_bind_args_t *a)
 
int vnet_connect (vnet_connect_args_t *a)
 
int vnet_unbind (vnet_unbind_args_t *a)
 
int vnet_disconnect (vnet_disconnect_args_t *a)
 
int api_parse_session_handle (u64 handle, u32 *session_index, u32 *thread_index)
 

Macro Definition Documentation

#define SESSION_OPTIONS_FLAGS_ADD_SEGMENT   (1<<1)

Server wants vpp to add segments when out of memory for fifos.

Definition at line 108 of file application_interface.h.

#define SESSION_OPTIONS_FLAGS_USE_FIFO   (1<<0)

Server can handle delegated connect requests from local clients.

Definition at line 105 of file application_interface.h.

#define VNET_CONNECT_REDIRECTED   123

Definition at line 110 of file application_interface.h.

Typedef Documentation

typedef enum _session_api_proto session_api_proto_t
typedef struct _vnet_bind_args_t vnet_bind_args_t
typedef struct _vnet_connect_args vnet_connect_args_t
typedef struct _vnet_disconnect_args_t vnet_disconnect_args_t
typedef struct _vnet_unbind_args_t vnet_unbind_args_t

Enumeration Type Documentation

Enumerator
SESSION_OPTIONS_FLAGS 
SESSION_OPTIONS_SEGMENT_SIZE 
SESSION_OPTIONS_ADD_SEGMENT_SIZE 
SESSION_OPTIONS_RX_FIFO_SIZE 
SESSION_OPTIONS_TX_FIFO_SIZE 
SESSION_OPTIONS_ACCEPT_COOKIE 
SESSION_OPTIONS_N_OPTIONS 

Definition at line 93 of file application_interface.h.

Function Documentation

int api_parse_session_handle ( u64  handle,
u32 session_index,
u32 thread_index 
)

Definition at line 62 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_bind ( vnet_bind_args_t a)

Definition at line 379 of file application_interface.c.

+ Here is the call graph for this function:

int vnet_bind_uri ( vnet_bind_args_t )

Definition at line 267 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_connect ( vnet_connect_args_t a)

Definition at line 415 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_connect_uri ( vnet_connect_args_t a)

Definition at line 341 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_disconnect ( vnet_disconnect_args_t a)

Definition at line 433 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_disconnect_session ( u32  session_index,
u32  thread_index 
)

Definition at line 367 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_unbind ( vnet_unbind_args_t a)

Definition at line 397 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_unbind_uri ( char *  uri,
u32  api_client_index 
)

Definition at line 311 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: