FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
VPP's application/session API bind/unbind/connect/disconnect calls. More...
Go to the source code of this file.
Functions | |
uword | unformat_vnet_uri (unformat_input_t *input, va_list *args) |
unformat a vnet URI More... | |
int | parse_uri (char *uri, session_endpoint_cfg_t *sep) |
int | vnet_bind_uri (vnet_listen_args_t *a) |
int | vnet_unbind_uri (vnet_unlisten_args_t *a) |
int | vnet_connect_uri (vnet_connect_args_t *a) |
Variables | |
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.
int parse_uri | ( | char * | uri, |
session_endpoint_cfg_t * | sep | ||
) |
Definition at line 95 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 41 of file application_interface.c.
int vnet_bind_uri | ( | vnet_listen_args_t * | a | ) |
Definition at line 128 of file application_interface.c.
int vnet_connect_uri | ( | vnet_connect_args_t * | a | ) |
Definition at line 167 of file application_interface.c.
int vnet_unbind_uri | ( | vnet_unlisten_args_t * | a | ) |
|
static |
Definition at line 92 of file application_interface.c.
|
static |
Definition at line 91 of file application_interface.c.