FD.io VPP  v21.06-3-gbb25fbf28
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; \
}

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.

cj_global_log
void cj_global_log(unsigned type, void *data0, void *data1)
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123