FD.io VPP  v19.08-27-gf4dcae4
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

#define foreach_l2e_api_msg   _(L2_EMULATION, l2_emulation)

Definition at line 56 of file l2e_api.c.

#define L2E_MSG_BASE   l2em->msg_id_base

Definition at line 59 of file l2e_api.c.

#define vl_api_version (   n,
 
)    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 89 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.

Function Documentation

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:

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:

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:

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

+ Here is the caller graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this function: