FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
application_interface.c File Reference

VPP's application/session API bind/unbind/connect/disconnect calls. More...

+ Include dependency graph for application_interface.c:

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 u8cache_uri
 
static session_endpoint_cfg_tcache_sep
 

Detailed Description

VPP's application/session API bind/unbind/connect/disconnect calls.

Definition in file application_interface.c.

Function Documentation

int parse_uri ( char *  uri,
session_endpoint_cfg_t sep 
)

Definition at line 88 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_bind_uri ( vnet_listen_args_t a)

Definition at line 121 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_connect_uri ( vnet_connect_args_t a)

Definition at line 157 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_unbind_uri ( vnet_unlisten_args_t a)

Definition at line 135 of file application_interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

session_endpoint_cfg_t* cache_sep
static

Definition at line 85 of file application_interface.c.

u8* cache_uri
static

Definition at line 84 of file application_interface.c.