FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
l2e_api.c File Reference
+ Include dependency graph for l2e_api.c:

Go to the source code of this file.

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   l2em->msg_id_base
 
#define vl_msg_name_crc_list
 

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 ()
 

Macro Definition Documentation

◆ foreach_l2e_api_msg

#define foreach_l2e_api_msg   _(L2_EMULATION, l2_emulation)

Definition at line 56 of file l2e_api.c.

◆ L2E_MSG_BASE

#define L2E_MSG_BASE   l2em->msg_id_base

Definition at line 59 of file l2e_api.c.

◆ vl_api_version

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

Definition at line 50 of file l2e_api.c.

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 39 of file l2e_api.c.

◆ vl_msg_name_crc_list

#define vl_msg_name_crc_list

Definition at line 89 of file l2e_api.c.

◆ vl_print

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

Definition at line 44 of file l2e_api.c.

◆ vl_printfun

#define vl_printfun

Definition at line 45 of file l2e_api.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 35 of file l2e_api.c.

Function Documentation

◆ l2e_api_hookup()

static void l2e_api_hookup ( vlib_main_t vm)
static

Definition at line 104 of file l2e_api.c.

+ Here is the caller graph for this function:

◆ l2e_init()

static clib_error_t* l2e_init ( vlib_main_t vm)
static

Definition at line 120 of file l2e_api.c.

+ Here is the call graph for this function:

◆ setup_message_id_table()

static void setup_message_id_table ( api_main_t am)
static

Definition at line 94 of file l2e_api.c.

+ Here is the caller graph for this function:

◆ vl_api_l2_emulation_t_handler()

static void vl_api_l2_emulation_t_handler ( vl_api_l2_emulation_t mp)
static

Definition at line 62 of file l2e_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

VLIB_API_INIT_FUNCTION ( l2e_init  )
+ Here is the caller graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )
+ Here is the caller graph for this function: