|
static app_listener_t * | app_listener_alloc (application_t *app) |
|
app_listener_t * | app_listener_get (application_t *app, u32 app_listener_index) |
|
static void | app_listener_free (application_t *app, app_listener_t *app_listener) |
|
session_handle_t | app_listener_handle (app_listener_t *al) |
|
app_listener_t * | app_listener_get_w_session (session_t *ls) |
|
session_handle_t | app_listen_session_handle (session_t *ls) |
| Get app listener handle for listening session. More...
|
|
app_listener_t * | app_listener_get_w_handle (session_handle_t handle) |
| Get app listener for listener session handle. More...
|
|
app_listener_t * | app_listener_lookup (application_t *app, session_endpoint_cfg_t *sep_ext) |
|
int | app_listener_alloc_and_init (application_t *app, session_endpoint_cfg_t *sep, app_listener_t **listener) |
|
void | app_listener_cleanup (app_listener_t *al) |
|
static app_worker_t * | app_listener_select_worker (application_t *app, app_listener_t *al) |
|
session_t * | app_listener_get_session (app_listener_t *al) |
|
session_t * | app_listener_get_local_session (app_listener_t *al) |
|
static app_worker_map_t * | app_worker_map_alloc (application_t *app) |
|
static u32 | app_worker_map_index (application_t *app, app_worker_map_t *map) |
|
static void | app_worker_map_free (application_t *app, app_worker_map_t *map) |
|
static app_worker_map_t * | app_worker_map_get (application_t *app, u32 map_index) |
|
static const u8 * | app_get_name (application_t *app) |
|
u32 | application_session_table (application_t *app, u8 fib_proto) |
|
u32 | application_local_session_table (application_t *app) |
|
const u8 * | application_name_from_index (u32 app_index) |
| Returns app name for app-index. More...
|
|
static void | application_api_table_add (u32 app_index, u32 api_client_index) |
|
static void | application_api_table_del (u32 api_client_index) |
|
static void | application_name_table_add (application_t *app) |
|
static void | application_name_table_del (application_t *app) |
|
application_t * | application_lookup (u32 api_client_index) |
|
application_t * | application_lookup_name (const u8 *name) |
|
void | appsl_pending_rx_mqs_add_tail (appsl_wrk_t *aw, app_rx_mq_elt_t *elt) |
|
void | appsl_pending_rx_mqs_del (appsl_wrk_t *aw, app_rx_mq_elt_t *elt) |
|
| if (!elt) return 0 |
|
| appsl_pending_rx_mqs_del (aw, elt) |
|
| if (!svm_msg_q_is_empty(elt->mq)) |
|
| while (aw->pending_rx_mqs &&elt !=aw->pending_rx_mqs) |
|
| if (aw->pending_rx_mqs) vlib_node_set_interrupt_pending(vm |
|
| if (n_msgs &&wrk->state==SESSION_WRK_INTERRUPT) vlib_node_set_interrupt_pending(vm |
|
static clib_error_t * | app_rx_mq_fd_read_ready (clib_file_t *cf) |
|
static clib_error_t * | app_rx_mq_fd_write_ready (clib_file_t *cf) |
|
static void | app_rx_mqs_epoll_add (application_t *app, app_rx_mq_elt_t *mqe) |
|
static void | app_rx_mqs_epoll_del (application_t *app, app_rx_mq_elt_t *mqe) |
|
svm_msg_q_t * | application_rx_mq_get (application_t *app, u32 mq_index) |
|
static int | app_rx_mqs_alloc (application_t *app) |
|
u8 | application_use_private_rx_mqs (void) |
|
fifo_segment_t * | application_get_rx_mqs_segment (application_t *app) |
|
void | application_enable_rx_mqs_nodes (u8 is_en) |
|
static application_t * | application_alloc (void) |
|
application_t * | application_get (u32 app_index) |
|
application_t * | application_get_if_valid (u32 app_index) |
|
static void | application_verify_cb_fns (session_cb_vft_t *cb_fns) |
|
static u8 | application_verify_cfg (ssvm_segment_type_t st) |
| Check app config for given segment type. More...
|
|
static int | application_alloc_and_init (app_init_args_t *a) |
|
static void | application_free (application_t *app) |
|
static void | application_detach_process (application_t *app, u32 api_client_index) |
|
void | application_namespace_cleanup (app_namespace_t *app_ns) |
|
app_worker_t * | application_get_worker (application_t *app, u32 wrk_map_index) |
|
app_worker_t * | application_get_default_worker (application_t *app) |
|
u32 | application_n_workers (application_t *app) |
|
app_worker_t * | application_listener_select_worker (session_t *ls) |
|
int | application_alloc_worker_and_init (application_t *app, app_worker_t **wrk) |
|
int | vnet_app_worker_add_del (vnet_app_worker_add_del_args_t *a) |
|
static int | app_validate_namespace (u8 *namespace_id, u64 secret, u32 *app_ns_index) |
|
static u8 * | app_name_from_api_index (u32 api_client_index) |
|
int | vnet_application_attach (vnet_app_attach_args_t *a) |
| Attach application to vpp. More...
|
|
int | vnet_application_detach (vnet_app_detach_args_t *a) |
| Detach application from vpp. More...
|
|
static u8 | session_endpoint_in_ns (session_endpoint_t *sep) |
|
static void | session_endpoint_update_for_app (session_endpoint_cfg_t *sep, application_t *app, u8 is_connect) |
|
int | vnet_listen (vnet_listen_args_t *a) |
|
int | vnet_connect (vnet_connect_args_t *a) |
|
int | vnet_unlisten (vnet_unlisten_args_t *a) |
|
int | vnet_shutdown_session (vnet_shutdown_args_t *a) |
|
int | vnet_disconnect_session (vnet_disconnect_args_t *a) |
|
int | application_change_listener_owner (session_t *s, app_worker_t *app_wrk) |
|
int | application_is_proxy (application_t *app) |
|
int | application_is_builtin (application_t *app) |
|
int | application_is_builtin_proxy (application_t *app) |
|
u8 | application_has_local_scope (application_t *app) |
|
u8 | application_has_global_scope (application_t *app) |
|
static clib_error_t * | application_start_stop_proxy_fib_proto (application_t *app, u8 fib_proto, u8 transport_proto, u8 is_start) |
|
static void | application_start_stop_proxy_local_scope (application_t *app, u8 transport_proto, u8 is_start) |
|
void | application_start_stop_proxy (application_t *app, transport_proto_t transport_proto, u8 is_start) |
|
void | application_setup_proxy (application_t *app) |
|
void | application_remove_proxy (application_t *app) |
|
segment_manager_props_t * | application_segment_manager_properties (application_t *app) |
|
segment_manager_props_t * | application_get_segment_manager_properties (u32 app_index) |
|
static void | application_format_listeners (application_t *app, int verbose) |
|
static void | application_format_connects (application_t *app, int verbose) |
|
u8 * | format_cert_key_pair (u8 *s, va_list *args) |
|
u8 * | format_crypto_engine (u8 *s, va_list *args) |
|
uword | unformat_crypto_engine (unformat_input_t *input, va_list *args) |
|
u8 * | format_crypto_context (u8 *s, va_list *args) |
|
u8 * | format_application (u8 *s, va_list *args) |
|
void | application_format_all_listeners (vlib_main_t *vm, int verbose) |
|
void | application_format_all_clients (vlib_main_t *vm, int verbose) |
|
static clib_error_t * | show_certificate_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | appliction_format_app_mq (vlib_main_t *vm, application_t *app) |
|
static clib_error_t * | appliction_format_all_app_mq (vlib_main_t *vm) |
|
static clib_error_t * | show_app_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static app_cert_key_pair_t * | app_cert_key_pair_alloc () |
|
app_cert_key_pair_t * | app_cert_key_pair_get_if_valid (u32 index) |
|
app_cert_key_pair_t * | app_cert_key_pair_get (u32 index) |
|
app_cert_key_pair_t * | app_cert_key_pair_get_default () |
|
int | vnet_app_add_cert_key_pair (vnet_app_add_cert_key_pair_args_t *a) |
|
int | vnet_app_add_cert_key_interest (u32 index, u32 app_index) |
| Ask for app cb on pair deletion. More...
|
|
int | vnet_app_del_cert_key_pair (u32 index) |
|
clib_error_t * | application_init (vlib_main_t *vm) |
|
crypto_engine_type_t | app_crypto_engine_type_add (void) |
|
u8 | app_crypto_engine_n_types (void) |
|