FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
vppapiclient.h File Reference
+ Include dependency graph for vppapiclient.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* vac_callback_t) (unsigned char *data, int len)
 
typedef void(* vac_error_callback_t) (void *, unsigned char *, int)
 

Functions

int vac_connect (char *name, char *chroot_prefix, vac_callback_t cb, int rx_qlen)
 
int vac_disconnect (void)
 
int vac_read (char **data, int *l, unsigned short timeout)
 
int vac_write (char *data, int len)
 
void vac_free (void *msg)
 
int vac_get_msg_index (unsigned char *name)
 
int vac_msg_table_size (void)
 
int vac_msg_table_max_index (void)
 
void vac_rx_suspend (void)
 
void vac_rx_resume (void)
 
void vac_set_error_handler (vac_error_callback_t)
 

Typedef Documentation

◆ vac_callback_t

typedef void(* vac_callback_t) (unsigned char *data, int len)

Definition at line 20 of file vppapiclient.h.

◆ vac_error_callback_t

typedef void(* vac_error_callback_t) (void *, unsigned char *, int)

Definition at line 21 of file vppapiclient.h.

Function Documentation

◆ vac_connect()

int vac_connect ( char *  name,
char *  chroot_prefix,
vac_callback_t  cb,
int  rx_qlen 
)

Definition at line 310 of file client.c.

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

◆ vac_disconnect()

int vac_disconnect ( void  )

Definition at line 380 of file client.c.

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

◆ vac_free()

void vac_free ( void *  msg)

Definition at line 142 of file client.c.

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

◆ vac_get_msg_index()

int vac_get_msg_index ( unsigned char *  name)

Definition at line 555 of file client.c.

+ Here is the call graph for this function:

◆ vac_msg_table_max_index()

int vac_msg_table_max_index ( void  )

Definition at line 561 of file client.c.

+ Here is the call graph for this function:

◆ vac_msg_table_size()

int vac_msg_table_size ( void  )

Definition at line 303 of file client.c.

+ Here is the call graph for this function:

◆ vac_read()

int vac_read ( char **  data,
int *  l,
unsigned short  timeout 
)

Definition at line 431 of file client.c.

+ Here is the call graph for this function:

◆ vac_rx_resume()

void vac_rx_resume ( void  )

Definition at line 283 of file client.c.

+ Here is the caller graph for this function:

◆ vac_rx_suspend()

void vac_rx_suspend ( void  )

Definition at line 262 of file client.c.

+ Here is the call graph for this function:

◆ vac_set_error_handler()

void vac_set_error_handler ( vac_error_callback_t  )

Definition at line 576 of file client.c.

+ Here is the call graph for this function:

◆ vac_write()

int vac_write ( char *  data,
int  len 
)

Definition at line 531 of file client.c.

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