FD.io VPP  v19.04.4-rc0-5-ge88582fac
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)
 
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)
 
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 223 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 
)
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 210 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 238 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 299 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 161 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 232 of file config.c.

+ Here is the caller graph for this function: