FD.io VPP  v20.09-64-g4f7b92f0a
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_registration_t *nr, 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:69
#define CLIB_MARCH_VARIANT_STR
Definition: node.h:195

Definition at line 50 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 72 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 126 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_registration_t nr,
u8 variant 
)

Definition at line 92 of file node_init.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ variants

Definition at line 69 of file node_init.c.