FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
config.h File Reference
+ Include dependency graph for config.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vnet_config_feature_t
 
struct  vnet_config_t
 
struct  vnet_config_main_t
 

Functions

static void vnet_config_feature_free (vnet_config_feature_t *f)
 
static void vnet_config_free (vnet_config_main_t *cm, vnet_config_t *c)
 
static void * vnet_get_config_data (vnet_config_main_t *cm, u32 *config_index, u32 *next_index, u32 n_data_bytes)
 
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_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)
 
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)
 
u32 vnet_config_modify_end_node (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_string_heap_index, u32 end_node_index)
 
u8vnet_config_format_features (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_index, u8 *s)
 

Function Documentation

◆ vnet_config_add_feature()

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 
)

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_del_feature()

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 
)

Definition at line 363 of file config.c.

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

◆ vnet_config_feature_free()

static void vnet_config_feature_free ( vnet_config_feature_t f)
inlinestatic

Definition at line 63 of file config.h.

+ Here is the caller graph for this function:

◆ vnet_config_format_features()

u8* vnet_config_format_features ( vlib_main_t vm,
vnet_config_main_t cm,
u32  config_index,
u8 s 
)
+ Here is the caller graph for this function:

◆ vnet_config_free()

static void vnet_config_free ( vnet_config_main_t cm,
vnet_config_t c 
)
inlinestatic

Definition at line 113 of file config.h.

+ 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 245 of file config.c.

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

◆ vnet_get_config_data()

static void* vnet_get_config_data ( vnet_config_main_t cm,
u32 config_index,
u32 next_index,
u32  n_data_bytes 
)
inlinestatic

Definition at line 123 of file config.h.

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