FD.io VPP  v16.06
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

always_inline void vnet_config_feature_free (vnet_config_feature_t *f)
 
always_inline void vnet_config_free (vnet_config_main_t *cm, vnet_config_t *c)
 
always_inline voidvnet_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)
 

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

always_inline void vnet_config_feature_free ( vnet_config_feature_t f)

Definition at line 62 of file config.h.

+ Here is the caller graph for this function:

always_inline void vnet_config_free ( vnet_config_main_t cm,
vnet_config_t c 
)

Definition at line 104 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:

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

Definition at line 115 of file config.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: