FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
config.c File Reference
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

static vnet_config_feature_tduplicate_feature_vector (vnet_config_feature_t *feature_vector)
 
static void free_feature_vector (vnet_config_feature_t *feature_vector)
 
static u32 add_next (vlib_main_t *vm, vnet_config_main_t *cm, u32 last_node_index, u32 this_node_index)
 
static vnet_config_tfind_config_with_features (vlib_main_t *vm, vnet_config_main_t *cm, vnet_config_feature_t *feature_vector, u32 end_node_index)
 
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)
 
static void remove_reference (vnet_config_main_t *cm, vnet_config_t *c)
 
static int feature_cmp (void *a1, void *a2)
 
static u32vnet_get_config_heap (vnet_config_main_t *cm, u32 ci)
 
void vnet_config_del (vnet_config_main_t *cm, u32 config_id)
 
u32 vnet_config_modify_end_node (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_string_heap_index, u32 end_node_index)
 
u32 vnet_config_add_feature (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_string_heap_index, u32 feature_index, void *feature_config, u32 n_feature_config_bytes)
 
u32 vnet_config_del_feature (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_string_heap_index, u32 feature_index, void *feature_config, u32 n_feature_config_bytes)
 

Function Documentation

◆ add_next()

static u32 add_next ( vlib_main_t vm,
vnet_config_main_t cm,
u32  last_node_index,
u32  this_node_index 
)
static

Definition at line 63 of file config.c.

+ Here is the call graph for this function:

◆ duplicate_feature_vector()

static vnet_config_feature_t* duplicate_feature_vector ( vnet_config_feature_t feature_vector)
static

Definition at line 43 of file config.c.

+ Here is the caller graph for this function:

◆ feature_cmp()

static int feature_cmp ( void *  a1,
void *  a2 
)
static

Definition at line 230 of file config.c.

+ Here is the caller graph for this function:

◆ find_config_with_features()

static vnet_config_t* find_config_with_features ( vlib_main_t vm,
vnet_config_main_t cm,
vnet_config_feature_t feature_vector,
u32  end_node_index 
)
static

Definition at line 86 of file config.c.

+ Here is the caller graph for this function:

◆ free_feature_vector()

static void free_feature_vector ( vnet_config_feature_t feature_vector)
static

Definition at line 54 of file config.c.

+ Here is the call graph for this function:

◆ remove_reference()

static void remove_reference ( vnet_config_main_t cm,
vnet_config_t c 
)
static

Definition at line 217 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_config_add_feature()

u32 vnet_config_add_feature ( vlib_main_t vm,
vnet_config_main_t cm,
u32  config_string_heap_index,
u32  feature_index,
void *  feature_config,
u32  n_feature_config_bytes 
)

Definition at line 307 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_config_del()

void vnet_config_del ( vnet_config_main_t cm,
u32  config_id 
)

Definition at line 245 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_config_del_feature()

u32 vnet_config_del_feature ( vlib_main_t vm,
vnet_config_main_t cm,
u32  config_string_heap_index,
u32  feature_index,
void *  feature_config,
u32  n_feature_config_bytes 
)

Definition at line 376 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_config_init()

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 
)

Definition at line 168 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_config_modify_end_node()

u32 vnet_config_modify_end_node ( vlib_main_t vm,
vnet_config_main_t cm,
u32  config_string_heap_index,
u32  end_node_index 
)

Definition at line 253 of file config.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_get_config_heap()

static u32* vnet_get_config_heap ( vnet_config_main_t cm,
u32  ci 
)
inlinestatic

Definition at line 239 of file config.c.

+ Here is the caller graph for this function: