|
u32 | lcp_itf_num_pairs (void) |
|
u8 * | format_lcp_itf_pair (u8 *s, va_list *args) |
|
static walk_rc_t | lcp_itf_pair_walk_show_cb (index_t api, void *ctx) |
|
void | lcp_itf_pair_show (u32 phy_sw_if_index) |
|
lcp_itf_pair_t * | lcp_itf_pair_get (u32 index) |
| Get an interface-pair object from its VPP index. More...
|
|
index_t | lcp_itf_pair_find_by_vif (u32 vif_index) |
| Find a interface-pair object from the host interface. More...
|
|
int | lcp_itf_pair_add_sub (u32 vif, u8 *host_if_name, u32 sub_sw_if_index, u32 phy_sw_if_index, u8 *ns) |
|
static void | lcp_itf_unset_adjs (lcp_itf_pair_t *lip) |
|
static void | lcp_itf_set_adjs (lcp_itf_pair_t *lip) |
|
int __clib_weak | lcp_nl_drain_messages (void) |
|
int | lcp_itf_pair_add (u32 host_sw_if_index, u32 phy_sw_if_index, u8 *host_name, u32 host_index, lip_host_type_t host_type, u8 *ns) |
| Create an interface-pair. More...
|
|
static clib_error_t * | lcp_netlink_add_link_vlan (int parent, u32 vlan, const char *name) |
|
static clib_error_t * | lcp_netlink_del_link (const char *name) |
|
int | lcp_itf_pair_del (u32 phy_sw_if_index) |
|
static void | lcp_itf_pair_delete_by_index (index_t lipi) |
|
int | lcp_itf_pair_delete (u32 phy_sw_if_index) |
| Delete a LCP_ITF_PAIR. More...
|
|
void | lcp_itf_pair_walk (lcp_itf_pair_walk_cb_t cb, void *ctx) |
| Walk/visit each of the interface pairs. More...
|
|
static clib_error_t * | lcp_itf_pair_config (vlib_main_t *vm, unformat_input_t *input) |
|
static int | lcp_validate_if_name (u8 *name) |
|
static int | lcp_itf_get_ns_fd (char *ns_name) |
|
static void | lcp_itf_set_vif_link_state (u32 vif_index, u8 up, u8 *ns) |
|
int | lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name, lip_host_type_t host_if_type, u8 *ns, u32 *host_sw_if_indexp) |
| Create an interface-pair from PHY sw_if_index and tap name. More...
|
|
static walk_rc_t | lcp_itf_pair_walk_mark (index_t lipi, void *ctx) |
|
int | lcp_itf_pair_replace_begin (void) |
| Begin and End the replace process. More...
|
|
static walk_rc_t | lcp_itf_pair_walk_sweep (index_t lipi, void *arg) |
|
int | lcp_itf_pair_replace_end (void) |
|
static uword | lcp_itf_pair_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f) |
|
static clib_error_t * | lcp_itf_phy_add (vnet_main_t *vnm, u32 sw_if_index, u32 is_create) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (lcp_itf_phy_add) |
|
static clib_error_t * | lcp_itf_pair_link_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags) |
|
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (lcp_itf_pair_link_up_down) |
|
static clib_error_t * | lcp_itf_pair_init (vlib_main_t *vm) |
|