FD.io VPP  v19.04.4-rc0-5-ge88582fac
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 42 of file feat_bitmap.c.

Enumeration Type Documentation

◆ feat_bitmap_drop_error_t

Enumerator
FEAT_BITMAP_DROP_N_ERROR 

Definition at line 46 of file feat_bitmap.c.

◆ feat_bitmap_drop_next_t

Enumerator
FEAT_BITMAP_DROP_NEXT_DROP 
FEAT_BITMAP_DROP_N_NEXT 

Definition at line 60 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 152 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 85 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 73 of file feat_bitmap.c.

+ Here is the call graph for this function:

Variable Documentation

◆ feat_bitmap_drop_error_strings

char* feat_bitmap_drop_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_feat_bitmap_drop_error
Definition: feat_bitmap.c:42

Definition at line 54 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",
},
}
static char * feat_bitmap_drop_error_strings[]
Definition: feat_bitmap.c:54
unsigned int u32
Definition: types.h:88
static u8 * format_feat_bitmap_drop_trace(u8 *s, va_list *args)
Definition: feat_bitmap.c:73
#define ARRAY_LEN(x)
Definition: clib.h:62
static uword feat_bitmap_drop_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: feat_bitmap.c:85

(constructor) VLIB_REGISTER_NODE (feat_bitmap_drop_node)

Definition at line 40 of file feat_bitmap.c.