FD.io VPP  v19.01.3-6-g70449b9b9
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)
 
static uword bier_imp_ip4 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static uword bier_imp_ip6 (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()

static uword bier_imp_ip4 ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 189 of file bier_imp_node.c.

+ Here is the call graph for this function:

◆ bier_imp_ip6()

static uword bier_imp_ip6 ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 212 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:
= {
.function = bier_imp_ip4,
.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)
static uword bier_imp_ip4(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)

(constructor) VLIB_REGISTER_NODE (bier_imp_ip4_node)

Definition at line 198 of file bier_imp_node.c.

◆ bier_imp_ip6_node

vlib_node_registration_t bier_imp_ip6_node
Initial value:
= {
.function = bier_imp_ip6,
.name = "bier-imp-ip6",
.vector_size = sizeof (u32),
.format_trace = format_bier_imp_trace,
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
}
}
static uword bier_imp_ip6(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
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 221 of file bier_imp_node.c.