FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
pneum.c File Reference
+ Include dependency graph for pneum.c:

Go to the source code of this file.

Data Structures

struct  pneum_main_t
 

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 

Functions

void vlib_cli_output (struct vlib_main_t *vm, char *fmt,...)
 
void pneum_free (void *msg)
 
static void pneum_api_handler (void *msg)
 
static void * pneum_rx_thread_fn (void *arg)
 
uwordpneum_msg_table_get_hash (void)
 
int pneum_msg_table_size (void)
 
int pneum_connect (char *name, char *chroot_prefix, pneum_callback_t cb)
 
int pneum_disconnect (void)
 
int pneum_read (char **p, int *l)
 
typedef VL_API_PACKED (struct _vl_api_header{u16 _vl_msg_id;u32 client_index;})
 
int pneum_write (char *p, int l)
 
uint32_t pneum_get_msg_index (unsigned char *name)
 

Variables

vlib_main_t vlib_global_main
 
vlib_main_t ** vlib_mains
 
pneum_main_t pneum_main
 
pneum_callback_t pneum_callback
 

Macro Definition Documentation

#define vl_endianfun   /* define message structures */

Definition at line 42 of file pneum.c.

#define vl_typedefs   /* define message structures */

Definition at line 38 of file pneum.c.

Function Documentation

static void pneum_api_handler ( void *  msg)
static

Definition at line 75 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pneum_connect ( char *  name,
char *  chroot_prefix,
pneum_callback_t  cb 
)

Definition at line 129 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pneum_disconnect ( void  )

Definition at line 164 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void pneum_free ( void *  msg)

Definition at line 69 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uint32_t pneum_get_msg_index ( unsigned char *  name)

Definition at line 256 of file pneum.c.

+ Here is the call graph for this function:

uword* pneum_msg_table_get_hash ( void  )

Definition at line 115 of file pneum.c.

+ Here is the caller graph for this function:

int pneum_msg_table_size ( void  )

Definition at line 122 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pneum_read ( char **  p,
int *  l 
)

Definition at line 188 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* pneum_rx_thread_fn ( void *  arg)
static

Definition at line 95 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int pneum_write ( char *  p,
int  l 
)

Definition at line 233 of file pneum.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

typedef VL_API_PACKED ( struct _vl_api_header{u16 _vl_msg_id;u32 client_index;}  )

Definition at line 221 of file pneum.c.

void vlib_cli_output ( struct vlib_main_t vm,
char *  fmt,
  ... 
)

Definition at line 63 of file pneum.c.

+ Here is the call graph for this function:

Variable Documentation

pneum_callback_t pneum_callback

Definition at line 58 of file pneum.c.

pneum_main_t pneum_main

Definition at line 56 of file pneum.c.

vlib_main_t vlib_global_main

Definition at line 46 of file pneum.c.

vlib_main_t** vlib_mains

Definition at line 47 of file pneum.c.