FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | FEAT_MAX 32 |
Functions | |
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. More... | |
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. More... | |
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 current feature bit in the feature_bitmap of the current packet. More... | |
#define FEAT_MAX 32 |
Definition at line 36 of file feat_bitmap.h.
Return the graph node index for the feature corresponding to the first set bit in the bitmap.
Definition at line 79 of file feat_bitmap.h.
|
inlinestatic |
Initialize the feature next-node indexes of a graph node.
Should be called by the init function of each feature graph node.
Definition at line 43 of file feat_bitmap.h.
|
inlinestatic |
Return the graph node index for the feature corresponding to the next set bit after clearing the current feature bit in the feature_bitmap of the current packet.
Definition at line 94 of file feat_bitmap.h.