FD.io VPP  v19.04-6-g6f05f72
Vector Packet Processing
error.c File Reference
+ Include dependency graph for error.c:

Go to the source code of this file.

Data Structures

struct  clib_error_handler_t
 

Macros

#define HAVE_ERRNO
 

Functions

void clib_error_register_handler (clib_error_handler_func_t func, void *arg)
 
static void debugger (void)
 
static void error_exit (int code)
 
static u8dispatch_message (u8 *msg)
 
void * clib_error_free_vector (clib_error_t *errors)
 
u8format_clib_error (u8 *s, va_list *va)
 

Variables

static clib_error_handler_thandlers = 0
 

Macro Definition Documentation

#define HAVE_ERRNO

Definition at line 51 of file error.c.

Function Documentation

void* clib_error_free_vector ( clib_error_t errors)

Definition at line 182 of file error.c.

+ Here is the caller graph for this function:

void clib_error_register_handler ( clib_error_handler_func_t  func,
void *  arg 
)

Definition at line 75 of file error.c.

+ Here is the caller graph for this function:

static void debugger ( void  )
static

Definition at line 82 of file error.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u8* dispatch_message ( u8 msg)
static

Definition at line 94 of file error.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void error_exit ( int  code)
static

Definition at line 88 of file error.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_clib_error ( u8 s,
va_list *  va 
)

Definition at line 191 of file error.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

clib_error_handler_t* handlers = 0
static

Definition at line 72 of file error.c.