Go to the source code of this file.
|
vlib_node_t * | vlib_get_node_by_name (vlib_main_t *vm, u8 *name) |
|
static void | node_set_elog_name (vlib_main_t *vm, uword node_index) |
|
static void | vlib_worker_thread_node_rename (u32 node_index) |
|
void | vlib_node_rename (vlib_main_t *vm, u32 node_index, char *fmt,...) |
|
static void | vlib_node_runtime_update (vlib_main_t *vm, u32 node_index, u32 next_index) |
|
uword | vlib_node_get_next (vlib_main_t *vm, uword node_index, uword next_node_index) |
|
uword | vlib_node_add_next_with_slot (vlib_main_t *vm, uword node_index, uword next_node_index, uword slot) |
|
uword | vlib_node_add_named_next_with_slot (vlib_main_t *vm, uword node, char *name, uword slot) |
|
static void | node_elog_init (vlib_main_t *vm, uword ni) |
|
static void | register_node (vlib_main_t *vm, vlib_node_registration_t *r) |
|
u32 | vlib_register_node (vlib_main_t *vm, vlib_node_registration_t *r) |
|
static uword | null_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
void | vlib_register_all_static_nodes (vlib_main_t *vm) |
|
void | vlib_node_get_nodes (vlib_main_t *vm, u32 max_threads, int include_stats, int barrier_sync, vlib_node_t ****node_dupsp, vlib_main_t ***stat_vmsp) |
| Get list of nodes. More...
|
|
clib_error_t * | vlib_node_main_init (vlib_main_t *vm) |
|
u32 | vlib_process_create (vlib_main_t *vm, char *name, vlib_node_function_t *f, u32 log2_n_stack_bytes) |
| Create a vlib process. More...
|
|
◆ STACK_ALIGN
◆ node_elog_init()
◆ node_set_elog_name()
◆ null_node_fn()
◆ register_node()
◆ vlib_get_node_by_name()
◆ vlib_node_add_named_next_with_slot()
◆ vlib_node_add_next_with_slot()
◆ vlib_node_get_next()
◆ vlib_node_get_nodes()
Get list of nodes.
Definition at line 577 of file node.c.
◆ vlib_node_main_init()
◆ vlib_node_rename()
void vlib_node_rename |
( |
vlib_main_t * |
vm, |
|
|
u32 |
node_index, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ vlib_node_runtime_update()
static void vlib_node_runtime_update |
( |
vlib_main_t * |
vm, |
|
|
u32 |
node_index, |
|
|
u32 |
next_index |
|
) |
| |
|
static |
◆ vlib_process_create()
Create a vlib process.
- Parameters
-
vm | &vlib_global_main |
f | the process node function |
log2_n_stack_bytes | size of the process stack, defaults to 16K |
- Returns
- newly-create node index
- Warning
- call only on the main thread. Barrier sync required
Definition at line 769 of file node.c.
◆ vlib_register_all_static_nodes()
void vlib_register_all_static_nodes |
( |
vlib_main_t * |
vm | ) |
|
◆ vlib_register_node()
◆ vlib_worker_thread_node_rename()
static void vlib_worker_thread_node_rename |
( |
u32 |
node_index | ) |
|
|
static |