FD.io VPP
v21.01.1
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vlib_config_function_runtime_t |
Typedefs | |
typedef clib_error_t *() | vlib_init_function_t(struct vlib_main_t *vm) |
typedef clib_error_t *() | vlib_config_function_t(struct vlib_main_t *vm, unformat_input_t *input) |
typedef struct vlib_config_function_runtime_t | vlib_config_function_runtime_t |
Functions | |
clib_error_t * | vlib_call_all_init_functions (struct vlib_main_t *vm) |
clib_error_t * | vlib_call_all_config_functions (struct vlib_main_t *vm, unformat_input_t *input, int is_early) |
clib_error_t * | vlib_call_all_main_loop_enter_functions (struct vlib_main_t *vm) |
clib_error_t * | vlib_call_all_main_loop_exit_functions (struct vlib_main_t *vm) |
clib_error_t * | vlib_call_init_exit_functions (struct vlib_main_t *vm, _vlib_init_function_list_elt_t **headp, int call_once) |
clib_error_t * | vlib_call_init_exit_functions_no_sort (struct vlib_main_t *vm, _vlib_init_function_list_elt_t **headp, int call_once) |
clib_error_t * | vlib_sort_init_exit_functions (_vlib_init_function_list_elt_t **) |
Topological sorter for init function chains. More... | |
#define foreach_vlib_module_reference |
#define vlib_call_config_function | ( | vm, | |
x | |||
) |
#define vlib_call_init_function | ( | vm, | |
x | |||
) |
#define vlib_call_main_loop_enter_function | ( | vm, | |
x | |||
) |
#define vlib_call_post_graph_init_function | ( | vm, | |
x | |||
) |
#define VLIB_CONFIG_FUNCTION | ( | x, | |
n, | |||
... | |||
) |
#define VLIB_CONFIG_FUNCTION_SYMBOL | ( | x | ) | _VLIB_INIT_FUNCTION_SYMBOL(x, config) |
#define VLIB_DECLARE_INIT_FUNCTION | ( | x, | |
tag | |||
) |
#define VLIB_EARLY_CONFIG_FUNCTION | ( | x, | |
n, | |||
... | |||
) |
#define VLIB_INIT_FUNCTION | ( | x | ) | VLIB_DECLARE_INIT_FUNCTION(x,init) |
#define VLIB_INIT_FUNCTION_SYMBOL | ( | x | ) | _VLIB_INIT_FUNCTION_SYMBOL(x, init) |
#define VLIB_MAIN_LOOP_ENTER_FUNCTION | ( | x | ) | VLIB_DECLARE_INIT_FUNCTION(x,main_loop_enter) |
#define VLIB_MAIN_LOOP_ENTER_FUNCTION_SYMBOL | ( | x | ) | _VLIB_INIT_FUNCTION_SYMBOL(x, main_loop_enter) |
#define VLIB_MAIN_LOOP_EXIT_FUNCTION | ( | x | ) | VLIB_DECLARE_INIT_FUNCTION(x,main_loop_exit) |
#define VLIB_MAIN_LOOP_EXIT_FUNCTION_SYMBOL | ( | x | ) | _VLIB_INIT_FUNCTION_SYMBOL(x, main_loop_exit) |
#define vlib_mark_init_function_complete | ( | vm, | |
x | |||
) |
#define VLIB_REMOVE_FROM_LINKED_LIST | ( | first, | |
p, | |||
next | |||
) |
#define VLIB_WORKER_INIT_FUNCTION | ( | x | ) | VLIB_DECLARE_INIT_FUNCTION(x,worker_init) |
typedef struct vlib_config_function_runtime_t vlib_config_function_runtime_t |
typedef clib_error_t*() vlib_config_function_t(struct vlib_main_t *vm, unformat_input_t *input) |
typedef clib_error_t*() vlib_init_function_t(struct vlib_main_t *vm) |
clib_error_t* vlib_call_all_config_functions | ( | struct vlib_main_t * | vm, |
unformat_input_t * | input, | ||
int | is_early | ||
) |
clib_error_t* vlib_call_all_init_functions | ( | struct vlib_main_t * | vm | ) |
clib_error_t* vlib_call_all_main_loop_enter_functions | ( | struct vlib_main_t * | vm | ) |
clib_error_t* vlib_call_all_main_loop_exit_functions | ( | struct vlib_main_t * | vm | ) |
clib_error_t* vlib_call_init_exit_functions | ( | struct vlib_main_t * | vm, |
_vlib_init_function_list_elt_t ** | headp, | ||
int | call_once | ||
) |
clib_error_t* vlib_call_init_exit_functions_no_sort | ( | struct vlib_main_t * | vm, |
_vlib_init_function_list_elt_t ** | headp, | ||
int | call_once | ||
) |
clib_error_t* vlib_sort_init_exit_functions | ( | _vlib_init_function_list_elt_t ** | head | ) |
Topological sorter for init function chains.
head | [in/out] address of the listhead to be sorted |
Definition at line 76 of file init.c.