FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
l2e_api.c File Reference
+ Include dependency graph for l2e_api.c:

Go to the source code of this file.

Data Structures

struct  l2_emulation_main_t_
 Grouping of global data for the L2 emulation feature. More...
 

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 
#define vl_api_version(n, v)   static u32 api_version=(v);
 
#define foreach_l2e_api_msg   _(L2_EMULATION, l2_emulation)
 
#define L2E_MSG_BASE   l2_emulation_main.msg_id_base
 
#define vl_msg_name_crc_list
 

Typedefs

typedef struct l2_emulation_main_t_ l2_emulation_main_t
 L2 Emulation Main. More...
 

Functions

static void vl_api_l2_emulation_t_handler (vl_api_l2_emulation_t *mp)
 
static void setup_message_id_table (api_main_t *am)
 
static void l2e_api_hookup (vlib_main_t *vm)
 
static clib_error_tl2e_init (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (l2e_init)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

static l2_emulation_main_t l2_emulation_main
 

Macro Definition Documentation

#define foreach_l2e_api_msg   _(L2_EMULATION, l2_emulation)

Definition at line 56 of file l2e_api.c.

#define L2E_MSG_BASE   l2_emulation_main.msg_id_base

Definition at line 69 of file l2e_api.c.

#define vl_api_version (   n,
  v 
)    static u32 api_version=(v);

Definition at line 50 of file l2e_api.c.

#define vl_endianfun   /* define message structures */

Definition at line 39 of file l2e_api.c.

#define vl_msg_name_crc_list

Definition at line 98 of file l2e_api.c.

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 44 of file l2e_api.c.

#define vl_printfun

Definition at line 45 of file l2e_api.c.

#define vl_typedefs   /* define message structures */

Definition at line 35 of file l2e_api.c.

Typedef Documentation

L2 Emulation Main.

Function Documentation

static void l2e_api_hookup ( vlib_main_t vm)
static

Definition at line 112 of file l2e_api.c.

+ Here is the caller graph for this function:

static clib_error_t* l2e_init ( vlib_main_t vm)
static

Definition at line 127 of file l2e_api.c.

+ Here is the call graph for this function:

static void setup_message_id_table ( api_main_t am)
static

Definition at line 103 of file l2e_api.c.

+ Here is the caller graph for this function:

static void vl_api_l2_emulation_t_handler ( vl_api_l2_emulation_t mp)
static

Definition at line 72 of file l2e_api.c.

+ Here is the call graph for this function:

VLIB_API_INIT_FUNCTION ( l2e_init  )

+ Here is the caller graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this function:

Variable Documentation

l2_emulation_main_t l2_emulation_main
static

Definition at line 67 of file l2e_api.c.