![]() |
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Include dependency graph for application.c:Go to the source code of this file.
Macros | |
| #define | app_interface_check_thread_and_barrier(_fn, _arg) |
Variables | |
| static app_main_t | app_main |
| vlib_node_registration_t | appsl_rx_mqs_input_node |
| (constructor) VLIB_REGISTER_NODE (appsl_rx_mqs_input_node) More... | |
| vlib_main_t * | vm |
| vlib_main_t vlib_node_runtime_t * | node |
| vlib_main_t vlib_node_runtime_t vlib_frame_t * | frame |
| app_rx_mq_elt_t * | elt = aw->pending_rx_mqs |
| app_rx_mq_elt_t * | next = elt->next |
| app_main_t * | am = &app_main |
| session_worker_t * | wrk = session_main_get_worker (thread_index) |
| int __clib_unused | rv |
| appsl_wrk_t * | aw = &am->wrk[thread_index] |
| u64 | buf |
| do | |
| n_msgs = session_wrk_handle_mq (wrk, elt->mq) | |
| else | |
| appsl_rx_mqs_input_node | index |
| static vlib_cli_command_t | show_app_command |
| (constructor) VLIB_CLI_COMMAND (show_app_command) More... | |
| static vlib_cli_command_t | show_certificate_command |
| (constructor) VLIB_CLI_COMMAND (show_certificate_command) More... | |
| #define app_interface_check_thread_and_barrier | ( | _fn, | |
| _arg | |||
| ) |
Definition at line 24 of file application.c.
|
static |
Definition at line 2006 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| app_cert_key_pair_t* app_cert_key_pair_get | ( | u32 | index | ) |
| app_cert_key_pair_t* app_cert_key_pair_get_default | ( | ) |
| app_cert_key_pair_t* app_cert_key_pair_get_if_valid | ( | u32 | index | ) |
Definition at line 2016 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u8 app_crypto_engine_n_types | ( | void | ) |
| crypto_engine_type_t app_crypto_engine_type_add | ( | void | ) |
Definition at line 2119 of file application.c.
|
static |
| session_handle_t app_listen_session_handle | ( | session_t * | ls | ) |
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
| ls | listening session |
Definition at line 78 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 32 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int app_listener_alloc_and_init | ( | application_t * | app, |
| session_endpoint_cfg_t * | sep, | ||
| app_listener_t ** | listener | ||
| ) |
Definition at line 156 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void app_listener_cleanup | ( | app_listener_t * | al | ) |
Definition at line 264 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 52 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| app_listener_t* app_listener_get | ( | application_t * | app, |
| u32 | app_listener_index | ||
| ) |
| session_t* app_listener_get_local_session | ( | app_listener_t * | al | ) |
Definition at line 315 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| session_t* app_listener_get_session | ( | app_listener_t * | al | ) |
Definition at line 306 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| app_listener_t* app_listener_get_w_handle | ( | session_handle_t | handle | ) |
Get app listener for listener session handle.
Should only be called on handles that have an app listener, i.e., were obtained at the end of a vnet_listen call.
| handle | handle of the app listener. This is the handle of either the global or local listener |
Definition at line 88 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| app_listener_t* app_listener_get_w_session | ( | session_t * | ls | ) |
Definition at line 67 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| session_handle_t app_listener_handle | ( | app_listener_t * | al | ) |
| app_listener_t* app_listener_lookup | ( | application_t * | app, |
| session_endpoint_cfg_t * | sep_ext | ||
| ) |
Definition at line 98 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 291 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1122 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 539 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 624 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 574 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 598 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1100 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 323 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
static |
Definition at line 700 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 767 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int application_alloc_worker_and_init | ( | application_t * | app, |
| app_worker_t ** | wrk | ||
| ) |
Definition at line 1009 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| int application_change_listener_owner | ( | session_t * | s, |
| app_worker_t * | app_wrk | ||
| ) |
Definition at line 1460 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 907 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_enable_rx_mqs_nodes | ( | u8 | is_en | ) |
Definition at line 691 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_format_all_clients | ( | vlib_main_t * | vm, |
| int | verbose | ||
| ) |
Definition at line 1846 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_format_all_listeners | ( | vlib_main_t * | vm, |
| int | verbose | ||
| ) |
Definition at line 1826 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1698 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1669 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 857 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| application_t* application_get | ( | u32 | app_index | ) |
Definition at line 710 of file application.c.
| app_worker_t* application_get_default_worker | ( | application_t * | app | ) |
Definition at line 986 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| application_t* application_get_if_valid | ( | u32 | app_index | ) |
| fifo_segment_t* application_get_rx_mqs_segment | ( | application_t * | app | ) |
Definition at line 683 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| segment_manager_props_t* application_get_segment_manager_properties | ( | u32 | app_index | ) |
Definition at line 1662 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| app_worker_t* application_get_worker | ( | application_t * | app, |
| u32 | wrk_map_index | ||
| ) |
Definition at line 976 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u8 application_has_global_scope | ( | application_t * | app | ) |
| u8 application_has_local_scope | ( | application_t * | app | ) |
| clib_error_t* application_init | ( | vlib_main_t * | vm | ) |
| int application_is_builtin | ( | application_t * | app | ) |
| int application_is_builtin_proxy | ( | application_t * | app | ) |
Definition at line 1506 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int application_is_proxy | ( | application_t * | app | ) |
| app_worker_t* application_listener_select_worker | ( | session_t * | ls | ) |
Definition at line 998 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 application_local_session_table | ( | application_t * | app | ) |
Definition at line 373 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| application_t* application_lookup | ( | u32 | api_client_index | ) |
Definition at line 420 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| application_t* application_lookup_name | ( | const u8 * | name | ) |
Definition at line 431 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 application_n_workers | ( | application_t * | app | ) |
Definition at line 992 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:Returns app name for app-index.
Definition at line 386 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| void application_namespace_cleanup | ( | app_namespace_t * | app_ns | ) |
Definition at line 951 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_remove_proxy | ( | application_t * | app | ) |
Definition at line 1644 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| svm_msg_q_t* application_rx_mq_get | ( | application_t * | app, |
| u32 | mq_index | ||
| ) |
| segment_manager_props_t* application_segment_manager_properties | ( | application_t * | app | ) |
| u32 application_session_table | ( | application_t * | app, |
| u8 | fib_proto | ||
| ) |
Definition at line 358 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_setup_proxy | ( | application_t * | app | ) |
Definition at line 1632 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void application_start_stop_proxy | ( | application_t * | app, |
| transport_proto_t | transport_proto, | ||
| u8 | is_start | ||
| ) |
Definition at line 1616 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1524 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1589 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u8 application_use_private_rx_mqs | ( | void | ) |
|
static |
|
static |
Check app config for given segment type.
Returns 1 on success and 0 otherwise
Definition at line 745 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1902 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 1881 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 | ||
| ) |
Definition at line 1782 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1772 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| if | ( | ! | elt | ) |
| if | ( | ! | svm_msg_q_is_emptyelt->mq | ) |
| if | ( | aw-> | pending_rx_mqs | ) |
| if | ( | n_msgs &&wrk-> | state = = SESSION_WRK_INTERRUPT | ) |
|
static |
Definition at line 1234 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1249 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| uword unformat_crypto_engine | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Ask for app cb on pair deletion.
Definition at line 2049 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_app_add_cert_key_pair | ( | vnet_app_add_cert_key_pair_args_t * | a | ) |
Definition at line 2037 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_app_del_cert_key_pair | ( | u32 | index | ) |
Definition at line 2060 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_app_worker_add_del | ( | vnet_app_worker_add_del_args_t * | a | ) |
Definition at line 1048 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 1142 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_application_detach | ( | vnet_app_detach_args_t * | a | ) |
Detach application from vpp.
Definition at line 1216 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_connect | ( | vnet_connect_args_t * | a | ) |
Definition at line 1348 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_disconnect_session | ( | vnet_disconnect_args_t * | a | ) |
Definition at line 1439 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_listen | ( | vnet_listen_args_t * | a | ) |
Definition at line 1294 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_shutdown_session | ( | vnet_shutdown_args_t * | a | ) |
Definition at line 1418 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_unlisten | ( | vnet_unlisten_args_t * | a | ) |
Definition at line 1387 of file application.c.
Here is the call graph for this function:
Here is the caller graph for this function:| arping_main_t * am = &app_main |
Definition at line 489 of file application.c.
|
static |
Definition at line 22 of file application.c.
| vlib_node_registration_t appsl_rx_mqs_input_node |
(constructor) VLIB_REGISTER_NODE (appsl_rx_mqs_input_node)
Definition at line 482 of file application.c.
| aw = &am->wrk[thread_index] |
Definition at line 492 of file application.c.
| u64 buf |
Definition at line 493 of file application.c.
| do |
Definition at line 503 of file application.c.
| else |
Definition at line 516 of file application.c.
| elt = aw->pending_rx_mqs |
Definition at line 488 of file application.c.
Definition at line 486 of file application.c.
| session_queue_node index |
Definition at line 524 of file application.c.
| return n_msgs = session_wrk_handle_mq (wrk, elt->mq) |
Definition at line 506 of file application.c.
| next = elt->next |
Definition at line 488 of file application.c.
Definition at line 485 of file application.c.
| int __clib_unused rv |
Definition at line 491 of file application.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_app_command)
Definition at line 2103 of file application.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_certificate_command)
Definition at line 2110 of file application.c.
| vlib_main_t* vm |
Definition at line 485 of file application.c.
| wrk = session_main_get_worker (thread_index) |
Definition at line 490 of file application.c.