18 #ifndef included_vnet_l2_feat_bitmap_h 19 #define included_vnet_l2_feat_bitmap_h 52 for (idx=0; idx<num_features; idx++) {
75 count_leading_zeros(first_bit, bitmap);
77 return next_nodes[first_bit];
80 #endif // included_vnet_l2_feat_bitmap_h
always_inline uword vlib_node_add_named_next(vlib_main_t *vm, uword node, char *name)
vlib_node_t * vlib_get_node_by_name(vlib_main_t *vm, u8 *name)
always_inline u32 feat_bitmap_get_next_node_index(u32 *next_nodes, u32 bitmap)
always_inline void feat_bitmap_init_next_nodes(vlib_main_t *vm, u32 node_index, u32 num_features, char **feat_names, u32 *next_nodes)