FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
test.c File Reference
+ Include dependency graph for test.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define M_NOALLOC(T, t)
 

Functions

int wrap_vac_callback (char *data, int len)
 
int main (int argc, char **argv)
 

Variables

vlib_main_t vlib_global_main
 
vlib_main_t ** vlib_mains
 
volatile int sigterm_received = 0
 
volatile u32 result_ready
 
volatile u16 result_msg_id
 

Macro Definition Documentation

#define M_NOALLOC (   T,
 
)
Value:
do { \
memset (mp, 0, sizeof (*mp)); \
mp->_vl_msg_id = ntohs (VL_API_##T); \
mp->client_index = am->my_client_index; \
} while(0);
volatile u32 result_ready
Definition: test.c:50

Definition at line 55 of file test.c.

#define vl_typedefs   /* define message structures */

Definition at line 41 of file test.c.

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 74 of file test.c.

+ Here is the call graph for this function:

int wrap_vac_callback ( char *  data,
int  len 
)

Definition at line 66 of file test.c.

Variable Documentation

volatile u16 result_msg_id

Definition at line 51 of file test.c.

volatile u32 result_ready

Definition at line 50 of file test.c.

volatile int sigterm_received = 0

Definition at line 49 of file test.c.

vlib_main_t vlib_global_main

Definition at line 46 of file test.c.

vlib_main_t** vlib_mains

Definition at line 47 of file test.c.