FD.io VPP  v21.10.1-2-g0a485f517
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)
 
void vnet_config_del (vnet_config_main_t *cm, u32 config_id)
 
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 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_id,
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_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 
)

◆ 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 253 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: