FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
init.c File Reference
+ Include dependency graph for init.c:

Go to the source code of this file.

Macros

#define ethernet_type(n, s)   add_type (em, ETHERNET_TYPE_##s, #s);
 

Functions

static void add_type (ethernet_main_t *em, ethernet_type_t type, char *type_name)
 
 VNET_FEATURE_ARC_INIT (ethernet_output, static)
 
 VNET_FEATURE_INIT (ethernet_tx_drop, static)
 
static clib_error_tethernet_init (vlib_main_t *vm)
 
ethernet_main_tethernet_get_main (vlib_main_t *vm)
 

Variables

ethernet_main_t ethernet_main
 

Macro Definition Documentation

◆ ethernet_type

#define ethernet_type (   n,
 
)    add_type (em, ETHERNET_TYPE_##s, #s);

Function Documentation

◆ add_type()

static void add_type ( ethernet_main_t em,
ethernet_type_t  type,
char *  type_name 
)
static

Definition at line 48 of file init.c.

◆ ethernet_get_main()

ethernet_main_t* ethernet_get_main ( vlib_main_t vm)

Definition at line 125 of file init.c.

+ Here is the caller graph for this function:

◆ ethernet_init()

static clib_error_t* ethernet_init ( vlib_main_t vm)
static

Definition at line 83 of file init.c.

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

◆ VNET_FEATURE_ARC_INIT()

VNET_FEATURE_ARC_INIT ( ethernet_output  ,
static   
)

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( ethernet_tx_drop  ,
static   
)

Variable Documentation

◆ ethernet_main

ethernet_main_t ethernet_main

Definition at line 45 of file init.c.