FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | app_session_transport_ |
struct | app_session_t |
struct | session_bound_msg_ |
struct | session_accepted_msg_ |
struct | session_accepted_reply_msg_ |
struct | session_connected_msg_ |
struct | session_disconnected_msg_ |
struct | session_disconnected_reply_msg_ |
struct | session_reset_msg_ |
struct | session_reset_reply_msg_ |
struct | session_req_worker_update_msg_ |
struct | session_worker_update_msg_ |
struct | session_worker_update_reply_msg_ |
struct | app_session_event_ |
Macros | |
#define | foreach_app_options_flags |
#define | foreach_fd_type |
#define | foreach_app_session_field |
flag for dgram mode More... | |
Variables | |
const char | test_srv_crt_rsa [] |
const u32 | test_srv_crt_rsa_len |
const char | test_srv_key_rsa [] |
const u32 | test_srv_key_rsa_len |
foreach_app_options_flags |
Definition at line 124 of file application_interface.h.
#define foreach_app_session_field |
flag for dgram mode
Definition at line 198 of file application_interface.h.
#define foreach_fd_type |
Definition at line 149 of file application_interface.h.
typedef enum _app_options_flags app_options_flags_t |
typedef enum _app_options app_options_t |
typedef struct app_session_event_ app_session_evt_t |
typedef struct app_session_transport_ app_session_transport_t |
typedef struct session_accepted_msg_ session_accepted_msg_t |
typedef struct session_accepted_reply_msg_ session_accepted_reply_msg_t |
typedef struct session_bound_msg_ session_bound_msg_t |
typedef struct session_connected_msg_ session_connected_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_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_worker_update_msg_ session_worker_update_msg_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_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 106 of file application_interface.h.
enum session_fd_flag_ |
Enumerator | |
---|---|
foreach_fd_type |
Definition at line 163 of file application_interface.h.
enum session_fd_type_ |
Enumerator | |
---|---|
SESSION_N_FD_TYPE |
Definition at line 155 of file application_interface.h.
|
inlinestatic |
|
inlinestatic |
Definition at line 539 of file application_interface.h.
|
inlinestatic |
Definition at line 515 of file application_interface.h.
|
inlinestatic |
Definition at line 480 of file application_interface.h.
|
inlinestatic |
Definition at line 533 of file application_interface.h.
|
inlinestatic |
Definition at line 521 of file application_interface.h.
|
inlinestatic |
Definition at line 472 of file application_interface.h.
|
inlinestatic |
Definition at line 348 of file application_interface.h.
|
inlinestatic |
Definition at line 444 of file application_interface.h.
|
inlinestatic |
Definition at line 410 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 366 of file application_interface.h.
|
inlinestatic |
Definition at line 465 of file application_interface.h.
|
inlinestatic |
Definition at line 451 of file application_interface.h.
STATIC_ASSERT | ( | sizeof(session_accepted_reply_msg_t)<= | 16, |
"accept reply" | |||
) |
clib_error_t* vnet_app_add_tls_cert | ( | vnet_app_add_tls_cert_args_t * | a | ) |
Definition at line 1976 of file application.c.
clib_error_t* vnet_app_add_tls_key | ( | vnet_app_add_tls_key_args_t * | a | ) |
Definition at line 1988 of file application.c.
clib_error_t* 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 510 of file application_interface.c.
int vnet_application_detach | ( | vnet_app_detach_args_t * | a | ) |
Detach application from vpp.
Definition at line 572 of file application_interface.c.
clib_error_t* vnet_bind | ( | vnet_bind_args_t * | a | ) |
Definition at line 678 of file application_interface.c.
int vnet_bind_uri | ( | vnet_bind_args_t * | ) |
Definition at line 589 of file application_interface.c.
clib_error_t* vnet_connect | ( | vnet_connect_args_t * | a | ) |
Definition at line 696 of file application_interface.c.
clib_error_t* vnet_connect_uri | ( | vnet_connect_args_t * | a | ) |
Definition at line 626 of file application_interface.c.
int vnet_disconnect_session | ( | vnet_disconnect_args_t * | a | ) |
Definition at line 643 of file application_interface.c.
clib_error_t* vnet_unbind | ( | vnet_unbind_args_t * | a | ) |
Definition at line 687 of file application_interface.c.
int vnet_unbind_uri | ( | vnet_unbind_args_t * | a | ) |
Definition at line 603 of file application_interface.c.
const char test_srv_crt_rsa[] |
Definition at line 28 of file application_interface.c.
const u32 test_srv_crt_rsa_len |
Definition at line 52 of file application_interface.c.
const char test_srv_key_rsa[] |
Definition at line 54 of file application_interface.c.
const u32 test_srv_key_rsa_len |
Definition at line 82 of file application_interface.c.