FD.io VPP  v21.01.1
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

◆ parse_uri()

int parse_uri ( char *  uri,
session_endpoint_cfg_t sep 
)

Definition at line 95 of file application_interface.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unformat_vnet_uri()

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:

◆ vnet_bind_uri()

int vnet_bind_uri ( vnet_listen_args_t a)

Definition at line 128 of file application_interface.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_connect_uri()

int vnet_connect_uri ( vnet_connect_args_t a)

Definition at line 167 of file application_interface.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_unbind_uri()

int vnet_unbind_uri ( vnet_unlisten_args_t a)

Definition at line 142 of file application_interface.c.

+ Here is the call graph for this function:

Variable Documentation

◆ cache_sep

session_endpoint_cfg_t* cache_sep
static

Definition at line 92 of file application_interface.c.

◆ cache_uri

u8* cache_uri
static

Definition at line 91 of file application_interface.c.