FD.io VPP
v17.07.01-10-g3be13f0
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | foreach_app_options_flags |
#define | VNET_CONNECT_REDIRECTED 123 |
Server can handle delegated connect requests from local clients. More... | |
Typedefs | |
typedef enum _session_api_proto | session_api_proto_t |
typedef struct _vnet_app_attach_args_t | vnet_app_attach_args_t |
typedef struct _vnet_app_detach_args_t | vnet_app_detach_args_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 |
typedef enum _app_options | app_options_t |
typedef enum _app_options_flags | app_options_flags_t |
Functions | |
int | vnet_application_attach (vnet_app_attach_args_t *a) |
Attaches application. More... | |
int | vnet_application_detach (vnet_app_detach_args_t *a) |
int | vnet_bind_uri (vnet_bind_args_t *) |
int | vnet_unbind_uri (vnet_unbind_args_t *a) |
int | vnet_connect_uri (vnet_connect_args_t *a) |
int | vnet_disconnect_session (vnet_disconnect_args_t *a) |
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 | api_parse_session_handle (u64 handle, u32 *session_index, u32 *thread_index) |
foreach_app_options_flags |
Definition at line 132 of file application_interface.h.
#define VNET_CONNECT_REDIRECTED 123 |
Server can handle delegated connect requests from local clients.
Server wants vpp to add segments when out of memory for fifos
Definition at line 157 of file application_interface.h.
typedef enum _app_options_flags app_options_flags_t |
typedef enum _app_options app_options_t |
typedef enum _session_api_proto session_api_proto_t |
typedef struct _vnet_app_attach_args_t vnet_app_attach_args_t |
typedef struct _vnet_app_detach_args_t vnet_app_detach_args_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 |
Definition at line 118 of file application_interface.h.
int vnet_application_attach | ( | vnet_app_attach_args_t * | a | ) |
Attaches application.
Allocates a vpp app, i.e., a structure that keeps back pointers to external app and a segment manager for shared memory fifo based communication with the external app.
Definition at line 238 of file application_interface.c.
int vnet_application_detach | ( | vnet_app_detach_args_t * | a | ) |
Definition at line 263 of file application_interface.c.
int vnet_bind | ( | vnet_bind_args_t * | a | ) |
Definition at line 375 of file application_interface.c.
int vnet_bind_uri | ( | vnet_bind_args_t * | ) |
Definition at line 300 of file application_interface.c.
int vnet_connect | ( | vnet_connect_args_t * | a | ) |
Definition at line 394 of file application_interface.c.
int vnet_connect_uri | ( | vnet_connect_args_t * | a | ) |
Definition at line 339 of file application_interface.c.
int vnet_disconnect_session | ( | vnet_disconnect_args_t * | a | ) |
Definition at line 355 of file application_interface.c.
int vnet_unbind | ( | vnet_unbind_args_t * | a | ) |
Definition at line 388 of file application_interface.c.
int vnet_unbind_uri | ( | vnet_unbind_args_t * | a | ) |
Definition at line 318 of file application_interface.c.