Go to the source code of this file.
|
enum | app_attach_options_index_t {
APP_EVT_QUEUE_SIZE,
APP_OPTIONS_FLAGS,
APP_OPTIONS_PREALLOC_FIFO_PAIRS,
APP_OPTIONS_PRIVATE_SEGMENT_COUNT,
APP_OPTIONS_PRIVATE_SEGMENT_SIZE,
SESSION_OPTIONS_SEGMENT_SIZE,
SESSION_OPTIONS_ADD_SEGMENT_SIZE,
SESSION_OPTIONS_RX_FIFO_SIZE,
SESSION_OPTIONS_TX_FIFO_SIZE,
SESSION_OPTIONS_PREALLOCATED_FIFO_PAIRS,
SESSION_OPTIONS_ACCEPT_COOKIE,
SESSION_OPTIONS_N_OPTIONS
} |
|
foreach_app_options_flags |
Value:_(USE_FIFO, "Use FIFO with redirects") \
_(ADD_SEGMENT, "Add segment and signal app if needed") \
_(BUILTIN_APP, "Application is builtin") \
_(IS_PROXY, "Application is proxying")
Definition at line 131 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.
Enumerator |
---|
APP_EVT_QUEUE_SIZE |
|
APP_OPTIONS_FLAGS |
|
APP_OPTIONS_PREALLOC_FIFO_PAIRS |
|
APP_OPTIONS_PRIVATE_SEGMENT_COUNT |
|
APP_OPTIONS_PRIVATE_SEGMENT_SIZE |
|
SESSION_OPTIONS_SEGMENT_SIZE |
|
SESSION_OPTIONS_ADD_SEGMENT_SIZE |
|
SESSION_OPTIONS_RX_FIFO_SIZE |
|
SESSION_OPTIONS_TX_FIFO_SIZE |
|
SESSION_OPTIONS_PREALLOCATED_FIFO_PAIRS |
|
SESSION_OPTIONS_ACCEPT_COOKIE |
|
SESSION_OPTIONS_N_OPTIONS |
|
Definition at line 115 of file application_interface.h.
int api_parse_session_handle |
( |
u64 |
handle, |
|
|
u32 * |
session_index, |
|
|
u32 * |
thread_index |
|
) |
| |
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 257 of file application_interface.c.