|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
18 #ifndef included_vnet_l2_feat_bitmap_h
19 #define included_vnet_l2_feat_bitmap_h
52 for (idx = 0; idx < num_features; idx++)
70 "feature-bitmap-drop");
85 return next_nodes[first_bit];
#define count_leading_zeros(x)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
static u32 vnet_l2_feature_next(vlib_buffer_t *b, u32 *next_nodes, u32 feat_bit)
Return the graph node index for the feature corresponding to the next set bit after clearing the curr...
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
static uword vlib_node_add_named_next(vlib_main_t *vm, uword node, char *name)
static u32 feat_bitmap_get_next_node_index(u32 *next_nodes, u32 bitmap)
Return the graph node index for the feature corresponding to the first set bit in the bitmap.
static void feat_bitmap_init_next_nodes(vlib_main_t *vm, u32 node_index, u32 num_features, char **feat_names, u32 *next_nodes)
Initialize the feature next-node indexes of a graph node.
VLIB buffer representation.