|
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) |
|
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) |
|
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_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) |
|
clib_error_t * | vnet_app_add_tls_cert (vnet_app_add_tls_cert_args_t *a) |
|
clib_error_t * | vnet_app_add_tls_key (vnet_app_add_tls_key_args_t *a) |
|
static void | application_format_listeners (application_t *app, int verbose) |
|
static void | application_format_connects (application_t *app, int verbose) |
|
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_app_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
Get app listener handle for listening session.
For a given listening session, this can return either the session handle of the app listener associated to the listening session or, if no such app listener exists, the session's handle
- Parameters
-
- Returns
- app listener or listening session handle
Definition at line 78 of file application.c.