FD.io VPP  v21.10.1-2-g0a485f517
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

__clib_export 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)
 
__clib_export void * clib_error_free_vector (clib_error_t *errors)
 
__clib_export u8format_clib_error (u8 *s, va_list *va)
 

Variables

static clib_error_handler_thandlers = 0
 

Macro Definition Documentation

◆ HAVE_ERRNO

#define HAVE_ERRNO

Definition at line 51 of file error.c.

Function Documentation

◆ clib_error_free_vector()

__clib_export 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:

◆ clib_error_register_handler()

__clib_export 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:

◆ debugger()

static void debugger ( void  )
static

Definition at line 82 of file error.c.

+ Here is the call graph for this function:

◆ dispatch_message()

static u8* dispatch_message ( u8 msg)
static

Definition at line 94 of file error.c.

+ Here is the call graph for this function:

◆ error_exit()

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:

◆ format_clib_error()

__clib_export u8* format_clib_error ( u8 s,
va_list *  va 
)

Definition at line 191 of file error.c.

Variable Documentation

◆ handlers

clib_error_handler_t* handlers = 0
static

Definition at line 72 of file error.c.