|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
40 #ifndef included_vnet_config_h
41 #define included_vnet_config_h
132 n =
round_pow2 (n_data_bytes,
sizeof (d[0])) /
sizeof (d[0]);
146 char *start_node_names[],
147 int n_start_node_names,
148 char *feature_node_names[],
int n_feature_node_names);
157 void *feature_config,
158 u32 n_feature_config_bytes);
164 void *feature_config,
165 u32 n_feature_config_bytes);
169 u32 config_string_heap_index,
u32 default_end_node_index
u32 * node_index_by_feature_index
nat44_ei_hairpin_src_next_t next_index
u32 vnet_config_del_feature(vlib_main_t *vm, vnet_config_main_t *cm, u32 config_id, u32 feature_index, void *feature_config, u32 n_feature_config_bytes)
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
u32 vnet_config_add_feature(vlib_main_t *vm, vnet_config_main_t *cm, u32 config_id, u32 feature_index, void *feature_config, u32 n_feature_config_bytes)
vnet_config_feature_t * features
u32 * config_string_vector
static uword round_pow2(uword x, uword pow2)
u8 * vnet_config_format_features(vlib_main_t *vm, vnet_config_main_t *cm, u32 config_index, u8 *s)
void vnet_config_init(vlib_main_t *vm, vnet_config_main_t *cm, char *start_node_names[], int n_start_node_names, char *feature_node_names[], int n_feature_node_names)
u32 vnet_config_modify_end_node(vlib_main_t *vm, vnet_config_main_t *cm, u32 config_string_heap_index, u32 end_node_index)
sll srl srl sll sra u16x4 i
u32 * config_pool_index_by_user_index
vnet_feature_config_main_t * cm
static void vnet_config_feature_free(vnet_config_feature_t *f)
__clib_export void heap_dealloc(void *v, uword handle)
#define vec_free(V)
Free vector's memory (no header).
#define heap_elt_at_index(v, index)
void vnet_config_del(vnet_config_main_t *cm, u32 config_id)
#define vec_foreach(var, vec)
Vector iterator.
uword * config_string_hash
static void * vnet_get_config_data(vnet_config_main_t *cm, u32 *config_index, u32 *next_index, u32 n_data_bytes)
static void vnet_config_free(vnet_config_main_t *cm, vnet_config_t *c)
vnet_config_t * config_pool
u32 config_string_heap_index