FD.io VPP  v21.01.1
Vector Packet Processing
node_init.c File Reference
+ Include dependency graph for node_init.c:

Go to the source code of this file.

Macros

#define VLIB_VARIANT_REGISTER()
 

Typedefs

typedef struct _vlib_node_march_variant vlib_node_march_variant_t
 

Functions

uword unformat_vlib_node_variant (unformat_input_t *input, va_list *args)
 
static_always_inline void vlib_update_nr_variant_default (vlib_node_fn_registration_t *fnr, u8 *variant)
 
static clib_error_tvlib_early_node_config (vlib_main_t *vm, unformat_input_t *input)
 

Variables

vlib_node_march_variant_tvariants = 0
 

Macro Definition Documentation

◆ VLIB_VARIANT_REGISTER

VLIB_VARIANT_REGISTER ( )
Value:
static vlib_node_march_variant_t \
CLIB_MARCH_VARIANT##variant; \
\
static void __clib_constructor \
CLIB_MARCH_VARIANT##_register (void) \
{ \
vlib_node_march_variant_t *v; \
v = & CLIB_MARCH_VARIANT##variant; \
v->next_variant = variants; \
variants = v; \
} \
struct _vlib_node_march_variant vlib_node_march_variant_t
vlib_node_march_variant_t * variants
Definition: node_init.c:70
#define CLIB_MARCH_VARIANT_STR
Definition: node.h:196

Definition at line 51 of file node_init.c.

Typedef Documentation

◆ vlib_node_march_variant_t

typedef struct _vlib_node_march_variant vlib_node_march_variant_t

Function Documentation

◆ unformat_vlib_node_variant()

uword unformat_vlib_node_variant ( unformat_input_t input,
va_list *  args 
)

Definition at line 73 of file node_init.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vlib_early_node_config()

static clib_error_t* vlib_early_node_config ( vlib_main_t vm,
unformat_input_t input 
)
static

Definition at line 127 of file node_init.c.

+ Here is the call graph for this function:

◆ vlib_update_nr_variant_default()

static_always_inline void vlib_update_nr_variant_default ( vlib_node_fn_registration_t fnr,
u8 variant 
)

Definition at line 93 of file node_init.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ variants

Definition at line 70 of file node_init.c.