FD.io VPP  v21.01.1
Vector Packet Processing
lisp_gpe_api.c File Reference
+ Include dependency graph for lisp_gpe_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   gpe_base_msg_id
 

Functions

static locator_pair_tunformat_gpe_loc_pairs (void *locs, u32 rloc_num)
 
static void gpe_fwd_entry_path_dump_t_net_to_host (vl_api_gpe_fwd_entry_path_dump_t *mp)
 
static void lisp_api_set_locator (vl_api_gpe_locator_t *loc, const ip_address_t *addr, u8 weight)
 
static void vl_api_gpe_fwd_entry_path_dump_t_handler (vl_api_gpe_fwd_entry_path_dump_t *mp)
 
static void gpe_fwd_entries_copy (vl_api_gpe_fwd_entry_t *dst, lisp_api_gpe_fwd_entry_t *src)
 
static void gpe_fwd_entries_get_t_net_to_host (vl_api_gpe_fwd_entries_get_t *mp)
 
static void gpe_entry_t_host_to_net (vl_api_gpe_fwd_entry_t *e)
 
static void gpe_fwd_entries_get_reply_t_host_to_net (vl_api_gpe_fwd_entries_get_reply_t *mp)
 
static void vl_api_gpe_fwd_entry_vnis_get_t_handler (vl_api_gpe_fwd_entry_vnis_get_t *mp)
 
static void vl_api_gpe_fwd_entries_get_t_handler (vl_api_gpe_fwd_entries_get_t *mp)
 
static void gpe_add_del_fwd_entry_t_net_to_host (vl_api_gpe_add_del_fwd_entry_t *mp)
 
static void vl_api_gpe_add_del_fwd_entry_t_handler (vl_api_gpe_add_del_fwd_entry_t *mp)
 
static void vl_api_gpe_enable_disable_t_handler (vl_api_gpe_enable_disable_t *mp)
 
static void vl_api_gpe_add_del_iface_t_handler (vl_api_gpe_add_del_iface_t *mp)
 
static void vl_api_gpe_set_encap_mode_t_handler (vl_api_gpe_set_encap_mode_t *mp)
 
static void vl_api_gpe_get_encap_mode_t_handler (vl_api_gpe_get_encap_mode_t *mp)
 
static void vl_api_gpe_add_del_native_fwd_rpath_t_handler (vl_api_gpe_add_del_native_fwd_rpath_t *mp)
 
static void gpe_native_fwd_rpaths_copy (vl_api_gpe_native_fwd_rpath_t *dst, fib_route_path_t *src)
 
static void gpe_native_fwd_rpath_t_host_to_net (vl_api_gpe_native_fwd_rpath_t *e)
 
static void gpe_native_fwd_rpaths_get_reply_t_host_to_net (vl_api_gpe_native_fwd_rpaths_get_reply_t *mp)
 
static void vl_api_gpe_native_fwd_rpaths_get_t_handler (vl_api_gpe_native_fwd_rpaths_get_t *mp)
 
static clib_error_tgpe_api_hookup (vlib_main_t *vm)
 
 VLIB_API_INIT_FUNCTION (gpe_api_hookup)
 

Variables

static u32 gpe_base_msg_id
 Base message ID fot the plugin. More...
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   gpe_base_msg_id

Definition at line 44 of file lisp_gpe_api.c.

Function Documentation

◆ gpe_add_del_fwd_entry_t_net_to_host()

static void gpe_add_del_fwd_entry_t_net_to_host ( vl_api_gpe_add_del_fwd_entry_t mp)
static

Definition at line 255 of file lisp_gpe_api.c.

+ Here is the caller graph for this function:

◆ gpe_api_hookup()

static clib_error_t* gpe_api_hookup ( vlib_main_t vm)
static

Definition at line 488 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ gpe_entry_t_host_to_net()

static void gpe_entry_t_host_to_net ( vl_api_gpe_fwd_entry_t *  e)
static

Definition at line 182 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpe_fwd_entries_copy()

static void gpe_fwd_entries_copy ( vl_api_gpe_fwd_entry_t *  dst,
lisp_api_gpe_fwd_entry_t src 
)
static

Definition at line 136 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpe_fwd_entries_get_reply_t_host_to_net()

static void gpe_fwd_entries_get_reply_t_host_to_net ( vl_api_gpe_fwd_entries_get_reply_t mp)
static

Definition at line 191 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpe_fwd_entries_get_t_net_to_host()

static void gpe_fwd_entries_get_t_net_to_host ( vl_api_gpe_fwd_entries_get_t mp)
static

Definition at line 176 of file lisp_gpe_api.c.

+ Here is the caller graph for this function:

◆ gpe_fwd_entry_path_dump_t_net_to_host()

static void gpe_fwd_entry_path_dump_t_net_to_host ( vl_api_gpe_fwd_entry_path_dump_t mp)
static

Definition at line 78 of file lisp_gpe_api.c.

+ Here is the caller graph for this function:

◆ gpe_native_fwd_rpath_t_host_to_net()

static void gpe_native_fwd_rpath_t_host_to_net ( vl_api_gpe_native_fwd_rpath_t *  e)
static

Definition at line 432 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpe_native_fwd_rpaths_copy()

static void gpe_native_fwd_rpaths_copy ( vl_api_gpe_native_fwd_rpath_t *  dst,
fib_route_path_t src 
)
static

Definition at line 413 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gpe_native_fwd_rpaths_get_reply_t_host_to_net()

static void gpe_native_fwd_rpaths_get_reply_t_host_to_net ( vl_api_gpe_native_fwd_rpaths_get_reply_t mp)
static

Definition at line 440 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lisp_api_set_locator()

static void lisp_api_set_locator ( vl_api_gpe_locator_t *  loc,
const ip_address_t addr,
u8  weight 
)
static

Definition at line 84 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ unformat_gpe_loc_pairs()

static locator_pair_t* unformat_gpe_loc_pairs ( void *  locs,
u32  rloc_num 
)
static

Definition at line 49 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_gpe_add_del_fwd_entry_t_handler()

static void vl_api_gpe_add_del_fwd_entry_t_handler ( vl_api_gpe_add_del_fwd_entry_t mp)
static

Definition at line 263 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_add_del_iface_t_handler()

static void vl_api_gpe_add_del_iface_t_handler ( vl_api_gpe_add_del_iface_t mp)
static

Definition at line 319 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_add_del_native_fwd_rpath_t_handler()

static void vl_api_gpe_add_del_native_fwd_rpath_t_handler ( vl_api_gpe_add_del_native_fwd_rpath_t mp)
static

Definition at line 378 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_gpe_enable_disable_t_handler()

static void vl_api_gpe_enable_disable_t_handler ( vl_api_gpe_enable_disable_t mp)
static

Definition at line 306 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_fwd_entries_get_t_handler()

static void vl_api_gpe_fwd_entries_get_t_handler ( vl_api_gpe_fwd_entries_get_t mp)
static

Definition at line 230 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_fwd_entry_path_dump_t_handler()

static void vl_api_gpe_fwd_entry_path_dump_t_handler ( vl_api_gpe_fwd_entry_path_dump_t mp)
static

Definition at line 93 of file lisp_gpe_api.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vl_api_gpe_fwd_entry_vnis_get_t_handler()

static void vl_api_gpe_fwd_entry_vnis_get_t_handler ( vl_api_gpe_fwd_entry_vnis_get_t mp)
static

Definition at line 205 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_get_encap_mode_t_handler()

static void vl_api_gpe_get_encap_mode_t_handler ( vl_api_gpe_get_encap_mode_t mp)
static

Definition at line 363 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_native_fwd_rpaths_get_t_handler()

static void vl_api_gpe_native_fwd_rpaths_get_t_handler ( vl_api_gpe_native_fwd_rpaths_get_t mp)
static

Definition at line 454 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ vl_api_gpe_set_encap_mode_t_handler()

static void vl_api_gpe_set_encap_mode_t_handler ( vl_api_gpe_set_encap_mode_t mp)
static

Definition at line 353 of file lisp_gpe_api.c.

+ Here is the call graph for this function:

◆ VLIB_API_INIT_FUNCTION()

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

Variable Documentation

◆ gpe_base_msg_id

u32 gpe_base_msg_id
static

Base message ID fot the plugin.

Definition at line 43 of file lisp_gpe_api.c.