FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Macros

#define STACK_ALIGN   (clib_mem_get_page_size())
 

Functions

vlib_node_tvlib_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_tvlib_node_main_init (vlib_main_t *vm)
 

Macro Definition Documentation

#define STACK_ALIGN   (clib_mem_get_page_size())

Definition at line 307 of file node.c.

Function Documentation

static void node_elog_init ( vlib_main_t vm,
uword  ni 
)
static

Definition at line 289 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void node_set_elog_name ( vlib_main_t vm,
uword  node_index 
)
static

Definition at line 59 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword null_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 525 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void register_node ( vlib_main_t vm,
vlib_node_registration_t r 
)
static

Definition at line 313 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

vlib_node_t* vlib_get_node_by_name ( vlib_main_t vm,
u8 name 
)

Definition at line 45 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword vlib_node_add_named_next_with_slot ( vlib_main_t vm,
uword  node,
char *  name,
uword  slot 
)

Definition at line 262 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword vlib_node_add_next_with_slot ( vlib_main_t vm,
uword  node_index,
uword  next_node_index,
uword  slot 
)

Definition at line 205 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

uword vlib_node_get_next ( vlib_main_t vm,
uword  node_index,
uword  next_node_index 
)

Definition at line 184 of file node.c.

+ Here is the caller graph for this function:

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.

Definition at line 567 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* vlib_node_main_init ( vlib_main_t vm)

Definition at line 629 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_node_rename ( vlib_main_t vm,
u32  node_index,
char *  fmt,
  ... 
)

Definition at line 102 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vlib_node_runtime_update ( vlib_main_t vm,
u32  node_index,
u32  next_index 
)
static

Definition at line 122 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vlib_register_all_static_nodes ( vlib_main_t vm)

Definition at line 538 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 vlib_register_node ( vlib_main_t vm,
vlib_node_registration_t r 
)

Definition at line 518 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vlib_worker_thread_node_rename ( u32  node_index)
static

Definition at line 76 of file node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: