FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
mfib_forward.c File Reference
+ Include dependency graph for mfib_forward.c:

Go to the source code of this file.

Data Structures

struct  mfib_forward_lookup_trace_t_
 
struct  mfib_forward_rpf_trace_t_
 

Typedefs

typedef struct mfib_forward_lookup_trace_t_ mfib_forward_lookup_trace_t
 
typedef enum mfib_forward_lookup_next_t_ mfib_forward_lookup_next_t
 
typedef struct mfib_forward_rpf_trace_t_ mfib_forward_rpf_trace_t
 
typedef enum mfib_forward_rpf_next_t_ mfib_forward_rpf_next_t
 

Enumerations

enum  mfib_forward_lookup_next_t_ { MFIB_FORWARD_LOOKUP_NEXT_RPF, MFIB_FORWARD_LOOKUP_N_NEXT }
 
enum  mfib_forward_rpf_next_t_ { MFIB_FORWARD_RPF_NEXT_DROP, MFIB_FORWARD_RPF_N_NEXT }
 

Functions

static u8format_mfib_forward_lookup_trace (u8 *s, va_list *args)
 
static void mfib_forward_lookup_trace (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static uword mfib_forward_lookup (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_v4)
 
VLIB_NODE_FN() ip4_mfib_forward_lookup_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() ip6_mfib_forward_lookup_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static u8format_mfib_forward_rpf_trace (u8 *s, va_list *args)
 
static int mfib_forward_connected_check (vlib_buffer_t *b0, u32 sw_if_index, int is_v4)
 
static void mfib_forward_itf_signal (vlib_main_t *vm, const mfib_entry_t *mfe, mfib_itf_t *mfi, vlib_buffer_t *b0)
 
static uword mfib_forward_rpf (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_v4)
 
VLIB_NODE_FN() ip4_mfib_forward_rpf_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() ip6_mfib_forward_rpf_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t ip4_mfib_forward_lookup_node
 (constructor) VLIB_REGISTER_NODE (ip4_mfib_forward_lookup_node) More...
 
vlib_node_registration_t ip6_mfib_forward_lookup_node
 (constructor) VLIB_REGISTER_NODE (ip6_mfib_forward_lookup_node) More...
 
vlib_node_registration_t ip4_mfib_forward_rpf_node
 (constructor) VLIB_REGISTER_NODE (ip4_mfib_forward_rpf_node) More...
 
vlib_node_registration_t ip6_mfib_forward_rpf_node
 (constructor) VLIB_REGISTER_NODE (ip6_mfib_forward_rpf_node) More...
 

Typedef Documentation

◆ mfib_forward_lookup_next_t

◆ mfib_forward_lookup_trace_t

◆ mfib_forward_rpf_next_t

◆ mfib_forward_rpf_trace_t

Enumeration Type Documentation

◆ mfib_forward_lookup_next_t_

Enumerator
MFIB_FORWARD_LOOKUP_NEXT_RPF 
MFIB_FORWARD_LOOKUP_N_NEXT 

Definition at line 112 of file mfib_forward.c.

◆ mfib_forward_rpf_next_t_

Enumerator
MFIB_FORWARD_RPF_NEXT_DROP 
MFIB_FORWARD_RPF_N_NEXT 

Definition at line 232 of file mfib_forward.c.

Function Documentation

◆ format_mfib_forward_lookup_trace()

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

Definition at line 34 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ format_mfib_forward_rpf_trace()

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

Definition at line 238 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ ip4_mfib_forward_lookup_node()

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

Definition at line 187 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ ip4_mfib_forward_rpf_node()

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

Definition at line 476 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ ip6_mfib_forward_lookup_node()

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

Definition at line 206 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ ip6_mfib_forward_rpf_node()

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

Definition at line 496 of file mfib_forward.c.

+ Here is the call graph for this function:

◆ mfib_forward_connected_check()

static int mfib_forward_connected_check ( vlib_buffer_t b0,
u32  sw_if_index,
int  is_v4 
)
static

Definition at line 252 of file mfib_forward.c.

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

◆ mfib_forward_itf_signal()

static void mfib_forward_itf_signal ( vlib_main_t vm,
const mfib_entry_t mfe,
mfib_itf_t mfi,
vlib_buffer_t b0 
)
static

Definition at line 286 of file mfib_forward.c.

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

◆ mfib_forward_lookup()

static uword mfib_forward_lookup ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  is_v4 
)
static

Definition at line 118 of file mfib_forward.c.

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

◆ mfib_forward_lookup_trace()

static void mfib_forward_lookup_trace ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 46 of file mfib_forward.c.

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

◆ mfib_forward_rpf()

static uword mfib_forward_rpf ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  is_v4 
)
inlinestatic

Definition at line 328 of file mfib_forward.c.

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

Variable Documentation

◆ ip4_mfib_forward_lookup_node

vlib_node_registration_t ip4_mfib_forward_lookup_node
Initial value:
= {
.name = "ip4-mfib-forward-lookup",
.vector_size = sizeof (u32),
.n_next_nodes = MFIB_FORWARD_LOOKUP_N_NEXT,
.next_nodes = {
[MFIB_FORWARD_LOOKUP_NEXT_RPF] = "ip4-mfib-forward-rpf",
},
}
unsigned int u32
Definition: types.h:88
static u8 * format_mfib_forward_lookup_trace(u8 *s, va_list *args)
Definition: mfib_forward.c:34

(constructor) VLIB_REGISTER_NODE (ip4_mfib_forward_lookup_node)

Definition at line 194 of file mfib_forward.c.

◆ ip4_mfib_forward_rpf_node

vlib_node_registration_t ip4_mfib_forward_rpf_node
Initial value:
= {
.name = "ip4-mfib-forward-rpf",
.vector_size = sizeof (u32),
.n_next_nodes = MFIB_FORWARD_RPF_N_NEXT,
.next_nodes = {
},
}
static u8 * format_mfib_forward_rpf_trace(u8 *s, va_list *args)
Definition: mfib_forward.c:238
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ip4_mfib_forward_rpf_node)

Definition at line 484 of file mfib_forward.c.

◆ ip6_mfib_forward_lookup_node

vlib_node_registration_t ip6_mfib_forward_lookup_node
Initial value:
= {
.name = "ip6-mfib-forward-lookup",
.vector_size = sizeof (u32),
.n_next_nodes = MFIB_FORWARD_LOOKUP_N_NEXT,
.next_nodes = {
[MFIB_FORWARD_LOOKUP_NEXT_RPF] = "ip6-mfib-forward-rpf",
},
}
unsigned int u32
Definition: types.h:88
static u8 * format_mfib_forward_lookup_trace(u8 *s, va_list *args)
Definition: mfib_forward.c:34

(constructor) VLIB_REGISTER_NODE (ip6_mfib_forward_lookup_node)

Definition at line 213 of file mfib_forward.c.

◆ ip6_mfib_forward_rpf_node

vlib_node_registration_t ip6_mfib_forward_rpf_node
Initial value:
= {
.name = "ip6-mfib-forward-rpf",
.vector_size = sizeof (u32),
.n_next_nodes = MFIB_FORWARD_RPF_N_NEXT,
.next_nodes = {
},
}
static u8 * format_mfib_forward_rpf_trace(u8 *s, va_list *args)
Definition: mfib_forward.c:238
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ip6_mfib_forward_rpf_node)

Definition at line 504 of file mfib_forward.c.