FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
VPP's application/session API bind/unbind/connect/disconnect calls. More...
Go to the source code of this file.
Macros | |
#define | app_interface_check_thread_and_barrier(_fn, _arg) |
Variables | |
const char | test_srv_crt_rsa [] |
const u32 | test_srv_crt_rsa_len = sizeof (test_srv_crt_rsa) |
const char | test_srv_key_rsa [] |
const u32 | test_srv_key_rsa_len = sizeof (test_srv_key_rsa) |
static u8 * | cache_uri |
static session_endpoint_cfg_t * | cache_sep |
VPP's application/session API bind/unbind/connect/disconnect calls.
Definition in file application_interface.c.
#define app_interface_check_thread_and_barrier | ( | _fn, | |
_arg | |||
) |
Definition at line 84 of file application_interface.c.
Definition at line 490 of file application_interface.c.
Definition at line 468 of file application_interface.c.
|
static |
Definition at line 286 of file application_interface.c.
int parse_uri | ( | char * | uri, |
session_endpoint_cfg_t * | sep | ||
) |
Definition at line 435 of file application_interface.c.
u8 session_endpoint_in_ns | ( | session_endpoint_t * | sep | ) |
Definition at line 105 of file application_interface.c.
|
static |
Definition at line 92 of file application_interface.c.
|
static |
Definition at line 99 of file application_interface.c.
|
static |
Definition at line 140 of file application_interface.c.
uword unformat_vnet_uri | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
unformat a vnet URI
transport-proto://[hostname]ip46-addr:port eg. tcp://ip46-addr:port tls://[testtsl.fd.io]ip46-addr:port
u8 ip46_address[16]; u16 port_in_host_byte_order; stream_session_type_t sst; u8 *fifo_name;
if (unformat (input, "%U", unformat_vnet_uri(), &ip46_address, &sst, &port, &fifo_name)) etc...
Definition at line 388 of file application_interface.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.
|
inlinestatic |
Definition at line 191 of file application_interface.c.
int vnet_bind_uri | ( | vnet_bind_args_t * | a | ) |
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.
|
inlinestatic |
Definition at line 258 of file application_interface.c.
int vnet_unbind_uri | ( | vnet_unbind_args_t * | a | ) |
Definition at line 603 of file application_interface.c.
|
static |
Definition at line 432 of file application_interface.c.
|
static |
Definition at line 431 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 = sizeof (test_srv_crt_rsa) |
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 = sizeof (test_srv_key_rsa) |
Definition at line 82 of file application_interface.c.