FD.io VPP  v21.06-3-gbb25fbf28
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)
 
void lcp_set_auto_intf (u8 is_auto)
 manage interface auto creation More...
 
int lcp_auto_intf (void)
 
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_auto_intf()

int lcp_auto_intf ( void  )

Definition at line 53 of file lcp_api.c.

◆ lcp_plugin_api_hookup()

static clib_error_t* lcp_plugin_api_hookup ( vlib_main_t vm)
static

Definition at line 253 of file lcp_api.c.

+ Here is the call graph for this function:

◆ lcp_set_auto_intf()

void lcp_set_auto_intf ( u8  is_auto)

manage interface auto creation

Definition at line 45 of file lcp_api.c.

+ Here is the caller 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 155 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 200 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 188 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 61 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 90 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 122 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 177 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 224 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 236 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.