FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
cj.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cj_record_t
 
struct  cj_main_t
 

Macros

#define DECLARE_CJ_GLOBAL_LOG
 
#define CJ_GLOBAL_LOG_PROTOTYPE
 

Functions

void cj_log (u32 type, void *data0, void *data1)
 
void cj_global_log (unsigned type, void *data0, void *data1)
 
void cj_stop (void)
 

Macro Definition Documentation

◆ CJ_GLOBAL_LOG_PROTOTYPE

#define CJ_GLOBAL_LOG_PROTOTYPE

Definition at line 64 of file cj.h.

◆ DECLARE_CJ_GLOBAL_LOG

#define DECLARE_CJ_GLOBAL_LOG
Value:
void cj_global_log (unsigned type, void * data0, void * data1) \
__attribute__ ((weak)); \
\
unsigned __cj_type; \
void * __cj_data0; \
void * __cj_data1; \
cj_global_log (unsigned type, void * data0, void * data1) \
{ \
__cj_type = type; \
__cj_data0 = data0; \
__cj_data1 = data1; \
}
void cj_global_log(unsigned type, void *data0, void *data1)

Definition at line 48 of file cj.h.

Function Documentation

◆ cj_global_log()

void cj_global_log ( unsigned  type,
void *  data0,
void *  data1 
)

◆ cj_log()

void cj_log ( u32  type,
void *  data0,
void *  data1 
)

Definition at line 38 of file cj.c.

+ Here is the call graph for this function:

◆ cj_stop()

void cj_stop ( void  )

Definition at line 58 of file cj.c.