FD.io VPP  v18.07-34-g55fbdb9
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

#define CJ_GLOBAL_LOG_PROTOTYPE

Definition at line 64 of file cj.h.

#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

void cj_global_log ( unsigned  type,
void *  data0,
void *  data1 
)
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:

void cj_stop ( void  )

Definition at line 58 of file cj.c.

+ Here is the caller graph for this function: