FD.io VPP  v16.09
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)
 
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 47 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 96 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 64 of file init.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

ethernet_main_t ethernet_main

Definition at line 44 of file init.c.