FD.io VPP  v17.07-30-g839fa73
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

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

Function Documentation

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

Definition at line 48 of file init.c.

+ Here is the call graph for this function:

ethernet_main_t* ethernet_get_main ( vlib_main_t vm)

Definition at line 116 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* ethernet_init ( vlib_main_t vm)
static

Definition at line 82 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VNET_FEATURE_ARC_INIT ( ethernet_output  ,
static   
)

+ Here is the caller graph for this function:

VNET_FEATURE_INIT ( ethernet_tx_drop  ,
static   
)

+ Here is the caller graph for this function:

Variable Documentation

ethernet_main_t ethernet_main

Definition at line 45 of file init.c.