FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
error.h File Reference
+ Include dependency graph for error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vlib_error_desc_t
 
struct  vlib_error_main_t
 

Typedefs

typedef u16 vlib_error_t
 

Enumerations

enum  vl_counter_severity_e { VL_COUNTER_SEVERITY_ERROR, VL_COUNTER_SEVERITY_WARN, VL_COUNTER_SEVERITY_INFO }
 

Functions

void vlib_register_errors (struct vlib_main_t *vm, u32 node_index, u32 n_errors, char *error_strings[], vlib_error_desc_t counters[])
 

Variables

unformat_function_t unformat_vlib_error
 

Typedef Documentation

◆ vlib_error_t

typedef u16 vlib_error_t

Definition at line 45 of file error.h.

Enumeration Type Documentation

◆ vl_counter_severity_e

Enumerator
VL_COUNTER_SEVERITY_ERROR 
VL_COUNTER_SEVERITY_WARN 
VL_COUNTER_SEVERITY_INFO 

Definition at line 47 of file error.h.

Function Documentation

◆ vlib_register_errors()

void vlib_register_errors ( struct vlib_main_t vm,
u32  node_index,
u32  n_errors,
char *  error_strings[],
vlib_error_desc_t  counters[] 
)

Definition at line 117 of file error.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ unformat_vlib_error

unformat_function_t unformat_vlib_error

Definition at line 79 of file error.h.