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");
83 count_leading_zeros (first_bit, bitmap);
85 return next_nodes[first_bit];
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_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)