FD.io VPP
v21.01.1
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | foreach_app_init_args |
#define | foreach_app_options_flags |
#define | foreach_fd_type |
#define | foreach_app_session_field |
flag for dgram mode More... | |
Variables | |
static char * | session_error_str [] |
#define foreach_app_init_args |
Definition at line 77 of file application_interface.h.
foreach_app_options_flags |
Definition at line 217 of file application_interface.h.
#define foreach_app_session_field |
flag for dgram mode
Definition at line 290 of file application_interface.h.
#define foreach_fd_type |
Definition at line 241 of file application_interface.h.
typedef struct certificate_ app_cert_key_pair_t |
typedef enum _app_options_flags app_options_flags_t |
typedef enum _app_options app_options_t |
typedef struct app_sapi_attach_msg_ app_sapi_attach_msg_t |
typedef struct app_sapi_attach_reply_msg_ app_sapi_attach_reply_msg_t |
typedef struct app_sapi_msg_ app_sapi_msg_t |
typedef enum app_sapi_msg_type app_sapi_msg_type_e |
typedef struct app_sapi_worker_add_del_msg_ app_sapi_worker_add_del_msg_t |
typedef struct app_session_event_ app_session_evt_t |
typedef struct app_session_transport_ app_session_transport_t |
typedef struct crypto_ctx_ crypto_context_t |
typedef enum crypto_engine_type_ crypto_engine_type_t |
typedef struct session_accepted_msg_ session_accepted_msg_t |
typedef struct session_accepted_reply_msg_ session_accepted_reply_msg_t |
typedef struct app_map_another_segment_msg_ session_app_add_segment_msg_t |
typedef struct app_unmap_segment_msg_ session_app_del_segment_msg_t |
typedef struct session_app_detach_msg_ session_app_detach_msg_t |
typedef struct session_app_wrk_rpc_msg_ session_app_wrk_rpc_msg_t |
typedef struct session_bound_msg_ session_bound_msg_t |
typedef struct session_cb_vft_ session_cb_vft_t |
typedef struct session_cleanup_msg_ session_cleanup_msg_t |
typedef struct session_connect_msg_ session_connect_msg_t |
typedef struct session_connect_uri_msg_ session_connect_uri_msg_t |
typedef struct session_connected_msg_ session_connected_msg_t |
typedef struct session_disconnect_msg_ session_disconnect_msg_t |
typedef struct session_disconnected_msg_ session_disconnected_msg_t |
typedef struct session_disconnected_reply_msg_ session_disconnected_reply_msg_t |
typedef enum session_fd_flag_ session_fd_flag_t |
typedef enum session_fd_type_ session_fd_type_t |
typedef struct session_listen_msg_ session_listen_msg_t |
typedef struct session_listen_uri_msg_ session_listen_uri_msg_t |
typedef struct session_migrate_msg_ session_migrated_msg_t |
typedef struct session_req_worker_update_msg_ session_req_worker_update_msg_t |
typedef struct session_reset_msg_ session_reset_msg_t |
typedef struct session_reset_reply_msg_ session_reset_reply_msg_t |
typedef struct session_unlisten_msg_ session_unlisten_msg_t |
typedef struct session_unlisten_reply_msg_ session_unlisten_reply_msg_t |
typedef struct session_worker_update_msg_ session_worker_update_msg_t |
typedef struct _vnet_app_add_cert_key_pair_args_ vnet_app_add_cert_key_pair_args_t |
typedef struct _vnet_application_add_tls_cert_args_t vnet_app_add_tls_cert_args_t |
typedef struct _vnet_application_add_tls_key_args_t vnet_app_add_tls_key_args_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_connect_args vnet_connect_args_t |
typedef struct _vnet_disconnect_args_t vnet_disconnect_args_t |
typedef struct _vnet_bind_args_t vnet_listen_args_t |
typedef struct _vnet_unlisten_args_t vnet_unlisten_args_t |
Definition at line 194 of file application_interface.h.
enum app_sapi_msg_type |
Enumerator | |
---|---|
APP_SAPI_MSG_TYPE_NONE | |
APP_SAPI_MSG_TYPE_ATTACH | |
APP_SAPI_MSG_TYPE_ATTACH_REPLY | |
APP_SAPI_MSG_TYPE_ADD_DEL_WORKER | |
APP_SAPI_MSG_TYPE_ADD_DEL_WORKER_REPLY | |
APP_SAPI_MSG_TYPE_SEND_FDS |
Definition at line 783 of file application_interface.h.
enum crypto_engine_type_ |
Enumerator | |
---|---|
CRYPTO_ENGINE_NONE | |
CRYPTO_ENGINE_OPENSSL | |
CRYPTO_ENGINE_MBEDTLS | |
CRYPTO_ENGINE_VPP | |
CRYPTO_ENGINE_PICOTLS | |
CRYPTO_ENGINE_LAST |
Definition at line 167 of file application_interface.h.
enum session_fd_flag_ |
Enumerator | |
---|---|
foreach_fd_type |
Definition at line 255 of file application_interface.h.
enum session_fd_type_ |
Enumerator | |
---|---|
SESSION_N_FD_TYPE |
Definition at line 247 of file application_interface.h.
|
inlinestatic |
Definition at line 546 of file application_interface.h.
|
inlinestatic |
Definition at line 753 of file application_interface.h.
|
inlinestatic |
Definition at line 729 of file application_interface.h.
|
inlinestatic |
Definition at line 690 of file application_interface.h.
|
inlinestatic |
Definition at line 747 of file application_interface.h.
|
inlinestatic |
Definition at line 735 of file application_interface.h.
|
inlinestatic |
Definition at line 682 of file application_interface.h.
|
inlinestatic |
Definition at line 558 of file application_interface.h.
|
inlinestatic |
Definition at line 651 of file application_interface.h.
|
inlinestatic |
Definition at line 615 of file application_interface.h.
|
inlinestatic |
Send fifo io event to vpp worker thread.
Because there may be multiple writers to one of vpp's queues, this protects message allocation and enqueueing.
mq | vpp message queue |
f | fifo for which the event is sent |
evt_type | type of event |
noblock | flag to indicate is request is blocking or not |
Definition at line 576 of file application_interface.h.
|
inlinestatic |
Definition at line 675 of file application_interface.h.
|
inlinestatic |
Definition at line 659 of file application_interface.h.
int parse_uri | ( | char * | uri, |
session_endpoint_cfg_t * | sep | ||
) |
Definition at line 95 of file application_interface.c.
STATIC_ASSERT | ( | sizeof(session_listen_msg_t)<= | SESSION_CTRL_MSG_MAX_SIZE, |
"msg too large" | |||
) |
STATIC_ASSERT | ( | sizeof(session_listen_uri_msg_t)<= | SESSION_CTRL_MSG_MAX_SIZE, |
"msg too large" | |||
) |
STATIC_ASSERT | ( | sizeof(session_connect_msg_t)<= | SESSION_CTRL_MSG_MAX_SIZE, |
"msg too large" | |||
) |
STATIC_ASSERT | ( | sizeof(session_connect_uri_msg_t)<= | SESSION_CTRL_MSG_MAX_SIZE, |
"msg too large" | |||
) |
STATIC_ASSERT | ( | sizeof(u64) *APP_OPTIONS_N_OPTIONS<=sizeof(((app_sapi_attach_msg_t *) 0) ->options) | , |
"Out of | options, | ||
fix message definition" | |||
) |
Ask for app cb on pair deletion.
Definition at line 1716 of file application.c.
int vnet_app_add_cert_key_pair | ( | vnet_app_add_cert_key_pair_args_t * | a | ) |
Definition at line 1706 of file application.c.
clib_error_t* vnet_app_add_tls_cert | ( | vnet_app_add_tls_cert_args_t * | a | ) |
Definition at line 1324 of file application.c.
clib_error_t* vnet_app_add_tls_key | ( | vnet_app_add_tls_key_args_t * | a | ) |
Definition at line 1334 of file application.c.
int vnet_app_del_cert_key_pair | ( | u32 | index | ) |
Definition at line 1727 of file application.c.
int vnet_application_attach | ( | vnet_app_attach_args_t * | a | ) |
Attach application to vpp.
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 816 of file application.c.
int vnet_application_detach | ( | vnet_app_detach_args_t * | a | ) |
Detach application from vpp.
Definition at line 886 of file application.c.
int vnet_bind_uri | ( | vnet_listen_args_t * | ) |
Definition at line 128 of file application_interface.c.
int vnet_connect | ( | vnet_connect_args_t * | a | ) |
Definition at line 1018 of file application.c.
int vnet_connect_uri | ( | vnet_connect_args_t * | a | ) |
Definition at line 167 of file application_interface.c.
int vnet_disconnect_session | ( | vnet_disconnect_args_t * | a | ) |
Definition at line 1086 of file application.c.
int vnet_listen | ( | vnet_listen_args_t * | a | ) |
Definition at line 964 of file application.c.
int vnet_unbind_uri | ( | vnet_unlisten_args_t * | a | ) |
int vnet_unlisten | ( | vnet_unlisten_args_t * | a | ) |
Definition at line 1055 of file application.c.
|
static |
Definition at line 761 of file application_interface.h.