FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
lcp_api.c File Reference
+ Include dependency graph for lcp_api.c:

Go to the source code of this file.

Macros

#define REPLY_MSG_ID_BASE   lcp_msg_id_base
 

Functions

static lip_host_type_t api_decode_host_type (vl_api_lcp_itf_host_type_t type)
 
static vl_api_lcp_itf_host_type_t api_encode_host_type (lip_host_type_t type)
 
static int vl_api_lcp_itf_pair_add (u32 phy_sw_if_index, lip_host_type_t lip_host_type, u8 *mp_host_if_name, size_t sizeof_host_if_name, u8 *mp_namespace, size_t sizeof_mp_namespace, u32 *host_sw_if_index_p)
 
static void vl_api_lcp_itf_pair_add_del_t_handler (vl_api_lcp_itf_pair_add_del_t *mp)
 
static void vl_api_lcp_itf_pair_add_del_v2_t_handler (vl_api_lcp_itf_pair_add_del_v2_t *mp)
 
static void send_lcp_itf_pair_details (index_t lipi, vl_api_registration_t *rp, u32 context)
 
static void vl_api_lcp_itf_pair_get_t_handler (vl_api_lcp_itf_pair_get_t *mp)
 
static void vl_api_lcp_default_ns_set_t_handler (vl_api_lcp_default_ns_set_t *mp)
 
static void vl_api_lcp_default_ns_get_t_handler (vl_api_lcp_default_ns_get_t *mp)
 
static void vl_api_lcp_itf_pair_replace_begin_t_handler (vl_api_lcp_itf_pair_replace_begin_t *mp)
 
static void vl_api_lcp_itf_pair_replace_end_t_handler (vl_api_lcp_itf_pair_replace_end_t *mp)
 
static clib_error_tlcp_plugin_api_hookup (vlib_main_t *vm)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

static u16 lcp_msg_id_base
 

Macro Definition Documentation

◆ REPLY_MSG_ID_BASE

#define REPLY_MSG_ID_BASE   lcp_msg_id_base

Definition at line 23 of file lcp_api.c.

Function Documentation

◆ api_decode_host_type()

static lip_host_type_t api_decode_host_type ( vl_api_lcp_itf_host_type_t  type)
static

Definition at line 27 of file lcp_api.c.

+ Here is the caller graph for this function:

◆ api_encode_host_type()

static vl_api_lcp_itf_host_type_t api_encode_host_type ( lip_host_type_t  type)
static

Definition at line 36 of file lcp_api.c.

+ Here is the caller graph for this function:

◆ lcp_plugin_api_hookup()

static clib_error_t* lcp_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 237 of file lcp_api.c.

+ Here is the call graph for this function:

◆ send_lcp_itf_pair_details()

static void send_lcp_itf_pair_details ( index_t  lipi,
vl_api_registration_t rp,
u32  context 
)
static

Definition at line 139 of file lcp_api.c.

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

◆ vl_api_lcp_default_ns_get_t_handler()

static void vl_api_lcp_default_ns_get_t_handler ( vl_api_lcp_default_ns_get_t mp)
static

Definition at line 184 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_default_ns_set_t_handler()

static void vl_api_lcp_default_ns_set_t_handler ( vl_api_lcp_default_ns_set_t mp)
static

Definition at line 172 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_itf_pair_add()

static int vl_api_lcp_itf_pair_add ( u32  phy_sw_if_index,
lip_host_type_t  lip_host_type,
u8 mp_host_if_name,
size_t  sizeof_host_if_name,
u8 mp_namespace,
size_t  sizeof_mp_namespace,
u32 host_sw_if_index_p 
)
static

Definition at line 45 of file lcp_api.c.

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

◆ vl_api_lcp_itf_pair_add_del_t_handler()

static void vl_api_lcp_itf_pair_add_del_t_handler ( vl_api_lcp_itf_pair_add_del_t mp)
static

Definition at line 74 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_itf_pair_add_del_v2_t_handler()

static void vl_api_lcp_itf_pair_add_del_v2_t_handler ( vl_api_lcp_itf_pair_add_del_v2_t mp)
static

Definition at line 106 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_itf_pair_get_t_handler()

static void vl_api_lcp_itf_pair_get_t_handler ( vl_api_lcp_itf_pair_get_t mp)
static

Definition at line 161 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_itf_pair_replace_begin_t_handler()

static void vl_api_lcp_itf_pair_replace_begin_t_handler ( vl_api_lcp_itf_pair_replace_begin_t mp)
static

Definition at line 208 of file lcp_api.c.

+ Here is the call graph for this function:

◆ vl_api_lcp_itf_pair_replace_end_t_handler()

static void vl_api_lcp_itf_pair_replace_end_t_handler ( vl_api_lcp_itf_pair_replace_end_t mp)
static

Definition at line 220 of file lcp_api.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

Variable Documentation

◆ lcp_msg_id_base

u16 lcp_msg_id_base
static

Definition at line 22 of file lcp_api.c.