FD.io VPP  v18.01-8-g0eacf49
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...
 

Macro Definition Documentation

#define bier_error (   n,
 
)    s,

Definition at line 42 of file bier_output.c.

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

Definition at line 42 of file bier_output.c.

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

Definition at line 31 of file bier_output.c.

Typedef Documentation

Packet trace recoed for a BIER output.

Enumeration Type Documentation

Enumerator
BIER_OUTPUT_N_ERROR 

Definition at line 41 of file bier_output.c.

Enumerator
BIER_OUTPUT_N_NEXT 

Definition at line 34 of file bier_output.c.

Function Documentation

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

Definition at line 63 of file bier_output.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 177 of file bier_output.c.

+ Here is the call graph for this function:

Variable Documentation

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

Definition at line 22 of file bier_output.c.

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:177
static char * bier_output_error_strings[]
Definition: bier_output.c:22
unsigned int u32
Definition: types.h:88
static uword bier_output(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
Definition: bier_output.c:63

Forward declaration.

(constructor) VLIB_REGISTER_NODE (bier_output_node)

Definition at line 51 of file bier_output.c.