FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
bier_output.c File Reference
+ Include dependency graph for bier_output.c:

Go to the source code of this file.

Data Structures

struct  bier_output_trace_t_
 Packet trace recoed for a BIER output. More...
 

Macros

#define bier_error(n, s)   s,
 
#define foreach_bier_output_next   _(DROP, "bier-drop")
 
#define bier_error(n, s)   BIER_OUTPUT_ERROR_##n,
 

Typedefs

typedef struct bier_output_trace_t_ bier_output_trace_t
 Packet trace recoed for a BIER output. More...
 

Enumerations

enum  bier_output_next_t { BIER_OUTPUT_N_NEXT }
 
enum  bier_output_error_t { BIER_OUTPUT_N_ERROR }
 

Functions

static uword bier_output (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
 
static u8format_bier_output_trace (u8 *s, va_list *args)
 

Variables

static char * bier_output_error_strings []
 
vlib_node_registration_t bier_output_node
 Forward declaration. More...
 
vlib_combined_counter_main_t bier_fmask_counters
 Stats for each BIER fmask object. More...
 

Macro Definition Documentation

◆ bier_error [1/2]

#define bier_error (   n,
 
)    s,

Definition at line 42 of file bier_output.c.

◆ bier_error [2/2]

#define bier_error (   n,
 
)    BIER_OUTPUT_ERROR_##n,

Definition at line 42 of file bier_output.c.

◆ foreach_bier_output_next

#define foreach_bier_output_next   _(DROP, "bier-drop")

Definition at line 31 of file bier_output.c.

Typedef Documentation

◆ bier_output_trace_t

Packet trace recoed for a BIER output.

Enumeration Type Documentation

◆ bier_output_error_t

Enumerator
BIER_OUTPUT_N_ERROR 

Definition at line 41 of file bier_output.c.

◆ bier_output_next_t

Enumerator
BIER_OUTPUT_N_NEXT 

Definition at line 34 of file bier_output.c.

Function Documentation

◆ bier_output()

static uword bier_output ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame 
)
static

Definition at line 65 of file bier_output.c.

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

◆ format_bier_output_trace()

static u8* format_bier_output_trace ( u8 s,
va_list *  args 
)
static

Definition at line 185 of file bier_output.c.

+ Here is the call graph for this function:

Variable Documentation

◆ bier_fmask_counters

vlib_combined_counter_main_t bier_fmask_counters

Stats for each BIER fmask object.

Definition at line 43 of file bier_fmask.c.

◆ bier_output_error_strings

char* bier_output_error_strings[]
static
Initial value:
= {
#define bier_error(n,s)
}

Definition at line 22 of file bier_output.c.

◆ bier_output_node

vlib_node_registration_t bier_output_node
Initial value:
= {
.function = bier_output,
.name = "bier-output",
.vector_size = sizeof (u32),
.n_errors = BIER_OUTPUT_N_ERROR,
.error_strings = bier_output_error_strings,
.n_next_nodes = BIER_OUTPUT_N_NEXT,
.next_nodes = {
[BIER_OUTPUT_NEXT_DROP] = "bier-drop",
},
.format_trace = format_bier_output_trace,
}
static u8 * format_bier_output_trace(u8 *s, va_list *args)
Definition: bier_output.c:185
unsigned int u32
Definition: types.h:88
static char * bier_output_error_strings[]
Definition: bier_output.c:22
static uword bier_output(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: bier_output.c:65

Forward declaration.

(constructor) VLIB_REGISTER_NODE (bier_output_node)

Definition at line 51 of file bier_output.c.