40 #ifndef included_vlib_error_funcs_h 41 #define included_vlib_error_funcs_h 60 ASSERT (counter < n->n_errors);
74 u32 next_buffer_stride,
always_inline void vlib_error_count(vlib_main_t *vm, uword node_index, uword counter, uword increment)
always_inline vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
uword vlib_error_drop_buffers(vlib_main_t *vm, vlib_node_runtime_t *node, u32 *buffers, u32 next_buffer_stride, u32 n_buffers, u32 error_next_index, u32 error_node, u32 error_code)
always_inline void elog(elog_main_t *em, elog_event_type_t *type, u32 data)
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
elog_event_type_t * error_elog_event_types
vlib_error_main_t error_main
#define VLIB_ELOG_MAIN_LOOP
always_inline void vlib_error_elog_count(vlib_main_t *vm, uword counter, uword increment)
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)