FD.io VPP  v19.04.2-12-g66b1689
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

void wrap_vac_callback (unsigned char *data, int len)
 
static void test_connect ()
 
static void test_messages (void)
 
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 { \
clib_memset (mp, 0, sizeof (*mp)); \
mp->_vl_msg_id = ntohs (VL_API_##T); \
mp->client_index = am->my_client_index; \
} while(0);
clib_memset(h->entries, 0, sizeof(h->entries[0])*entries)
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 154 of file test.c.

+ Here is the call graph for this function:

static void test_connect ( )
static

Definition at line 74 of file test.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void test_messages ( void  )
static

Definition at line 88 of file test.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void wrap_vac_callback ( unsigned char *  data,
int  len 
)

Definition at line 66 of file test.c.

+ Here is the caller graph for this function:

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.