FD.io VPP  v17.01.1-3-gc6833f8
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)
 
u8vnet_config_format_features (vlib_main_t *vm, vnet_config_main_t *cm, u32 config_index, u8 *s)
 

Function Documentation

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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:

static void vnet_config_free ( vnet_config_main_t cm,
vnet_config_t c 
)
inlinestatic

Definition at line 112 of file config.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

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 122 of file config.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: