FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
feat_bitmap.c File Reference
+ Include dependency graph for feat_bitmap.c:

Go to the source code of this file.

Data Structures

struct  feat_bitmap_drop_trace_t
 

Macros

#define foreach_feat_bitmap_drop_error
 

Enumerations

enum  feat_bitmap_drop_error_t { FEAT_BITMAP_DROP_N_ERROR }
 
enum  feat_bitmap_drop_next_t { FEAT_BITMAP_DROP_NEXT_DROP, FEAT_BITMAP_DROP_N_NEXT }
 

Functions

static u8format_feat_bitmap_drop_trace (u8 *s, va_list *args)
 
static uword feat_bitmap_drop_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
clib_error_tfeat_bitmap_drop_init (vlib_main_t *vm)
 

Variables

static vlib_node_registration_t feat_bitmap_drop_node
 (constructor) VLIB_REGISTER_NODE (feat_bitmap_drop_node) More...
 
static char * feat_bitmap_drop_error_strings []
 

Macro Definition Documentation

◆ foreach_feat_bitmap_drop_error

#define foreach_feat_bitmap_drop_error
Value:
_(NO_FWD, "L2 feature forwarding disabled") \
_(NYI, "L2 feature not implemented")

Definition at line 41 of file feat_bitmap.c.

Enumeration Type Documentation

◆ feat_bitmap_drop_error_t

Enumerator
FEAT_BITMAP_DROP_N_ERROR 

Definition at line 45 of file feat_bitmap.c.

◆ feat_bitmap_drop_next_t

Enumerator
FEAT_BITMAP_DROP_NEXT_DROP 
FEAT_BITMAP_DROP_N_NEXT 

Definition at line 59 of file feat_bitmap.c.

Function Documentation

◆ feat_bitmap_drop_init()

clib_error_t* feat_bitmap_drop_init ( vlib_main_t vm)

Definition at line 151 of file feat_bitmap.c.

◆ feat_bitmap_drop_node_fn()

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

Definition at line 84 of file feat_bitmap.c.

+ Here is the call graph for this function:

◆ format_feat_bitmap_drop_trace()

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

Definition at line 72 of file feat_bitmap.c.

Variable Documentation

◆ feat_bitmap_drop_error_strings

char* feat_bitmap_drop_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}

Definition at line 53 of file feat_bitmap.c.

◆ feat_bitmap_drop_node

static vlib_node_registration_t feat_bitmap_drop_node
static
Initial value:
= {
.name = "feature-bitmap-drop",
.vector_size = sizeof (u32),
.n_next_nodes = FEAT_BITMAP_DROP_N_NEXT,
.next_nodes = {
[FEAT_BITMAP_DROP_NEXT_DROP] = "error-drop",
},
}

(constructor) VLIB_REGISTER_NODE (feat_bitmap_drop_node)

Definition at line 39 of file feat_bitmap.c.

feat_bitmap_drop_error_strings
static char * feat_bitmap_drop_error_strings[]
Definition: feat_bitmap.c:53
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
FEAT_BITMAP_DROP_N_NEXT
@ FEAT_BITMAP_DROP_N_NEXT
Definition: feat_bitmap.c:62
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
format_feat_bitmap_drop_trace
static u8 * format_feat_bitmap_drop_trace(u8 *s, va_list *args)
Definition: feat_bitmap.c:72
foreach_feat_bitmap_drop_error
#define foreach_feat_bitmap_drop_error
Definition: feat_bitmap.c:41
FEAT_BITMAP_DROP_NEXT_DROP
@ FEAT_BITMAP_DROP_NEXT_DROP
Definition: feat_bitmap.c:61
u32
unsigned int u32
Definition: types.h:88
feat_bitmap_drop_node_fn
static uword feat_bitmap_drop_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: feat_bitmap.c:84
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123