FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
bier_imp_node.c File Reference
+ Include dependency graph for bier_imp_node.c:

Go to the source code of this file.

Data Structures

struct  bier_imp_trace_t_
 A struct to hold tracing information for the BIER imposition node. More...
 

Typedefs

typedef struct bier_imp_trace_t_ bier_imp_trace_t
 A struct to hold tracing information for the BIER imposition node. More...
 

Functions

static uword bier_imp_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, fib_protocol_t fproto, bier_hdr_proto_id_t bproto)
 
static u8format_bier_imp_trace (u8 *s, va_list *args)
 
VLIB_NODE_FN() bier_imp_ip4_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() bier_imp_ip6_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t bier_imp_ip4_node
 (constructor) VLIB_REGISTER_NODE (bier_imp_ip4_node) More...
 
vlib_node_registration_t bier_imp_ip6_node
 (constructor) VLIB_REGISTER_NODE (bier_imp_ip6_node) More...
 

Typedef Documentation

◆ bier_imp_trace_t

A struct to hold tracing information for the BIER imposition node.

Function Documentation

◆ bier_imp_dpo_inline()

static uword bier_imp_dpo_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t from_frame,
fib_protocol_t  fproto,
bier_hdr_proto_id_t  bproto 
)
inlinestatic

Definition at line 38 of file bier_imp_node.c.

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

◆ bier_imp_ip4_node()

VLIB_NODE_FN() bier_imp_ip4_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 188 of file bier_imp_node.c.

+ Here is the call graph for this function:

◆ bier_imp_ip6_node()

VLIB_NODE_FN() bier_imp_ip6_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 208 of file bier_imp_node.c.

+ Here is the call graph for this function:

◆ format_bier_imp_trace()

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

Definition at line 174 of file bier_imp_node.c.

+ Here is the call graph for this function:

Variable Documentation

◆ bier_imp_ip4_node

vlib_node_registration_t bier_imp_ip4_node
Initial value:
= {
.name = "bier-imp-ip4",
.vector_size = sizeof (u32),
.format_trace = format_bier_imp_trace,
.n_next_nodes = 1,
.next_nodes = {
[0] = "bier-drop",
}
}
unsigned int u32
Definition: types.h:88
static u8 * format_bier_imp_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (bier_imp_ip4_node)

Definition at line 197 of file bier_imp_node.c.

◆ bier_imp_ip6_node

vlib_node_registration_t bier_imp_ip6_node
Initial value:
= {
.name = "bier-imp-ip6",
.vector_size = sizeof (u32),
.format_trace = format_bier_imp_trace,
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
}
}
unsigned int u32
Definition: types.h:88
static u8 * format_bier_imp_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (bier_imp_ip6_node)

Definition at line 217 of file bier_imp_node.c.