![]() |
FD.io VPP
v21.06-1-gbb7418cf9
Vector Packet Processing
|
Include dependency graph for lcp_interface.c:Go to the source code of this file.
Data Structures | |
| struct | lcp_itf_pair_names_t_ |
| struct | lcp_itf_pair_sweep_ctx_t_ |
Macros | |
| #define | LCP_ITF_PAIR_DBG(...) vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__); |
| #define | LCP_ITF_PAIR_INFO(...) vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__); |
Typedefs | |
| typedef struct lcp_itf_pair_names_t_ | lcp_itf_pair_names_t |
| typedef struct lcp_itf_pair_sweep_ctx_t_ | lcp_itf_pair_sweep_ctx_t |
Variables | |
| static vlib_log_class_t | lcp_itf_pair_logger |
| lcp_itf_pair_t * | lcp_itf_pair_pool |
| Pool of LIP objects. More... | |
| static uword * | lip_db_by_vif |
| DBs of interface-pair objects: More... | |
| index_t * | lip_db_by_phy |
| Retreive the pair in the DP. More... | |
| u32 * | lip_db_by_host |
| const char * | lcp_itf_l3_feat_names [N_LCP_ITF_HOST][N_AF] |
| const fib_route_path_flags_t | lcp_itf_route_path_flags [N_LCP_ITF_HOST] |
| static lcp_itf_pair_names_t * | lipn_names |
| static vlib_node_registration_t | lcp_itf_pair_process_node |
| (constructor) VLIB_REGISTER_NODE (lcp_itf_pair_process_node) More... | |
| #define LCP_ITF_PAIR_DBG | ( | ... | ) | vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__); |
Definition at line 63 of file lcp_interface.c.
| #define LCP_ITF_PAIR_INFO | ( | ... | ) | vlib_log_notice (lcp_itf_pair_logger, __VA_ARGS__); |
Definition at line 66 of file lcp_interface.c.
| typedef struct lcp_itf_pair_names_t_ lcp_itf_pair_names_t |
| typedef struct lcp_itf_pair_sweep_ctx_t_ lcp_itf_pair_sweep_ctx_t |
Definition at line 70 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| u32 lcp_itf_num_pairs | ( | 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.
Definition at line 226 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| 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.
Definition at line 642 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int lcp_itf_pair_del | ( | u32 | phy_sw_if_index | ) |
Definition at line 380 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int lcp_itf_pair_delete | ( | u32 | phy_sw_if_index | ) |
Delete a LCP_ITF_PAIR.
Definition at line 460 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 435 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Find a interface-pair object from the host interface.
| host_sw_if_index | host interface |
Definition at line 147 of file lcp_interface.c.
| lcp_itf_pair_t* lcp_itf_pair_get | ( | u32 | index | ) |
Get an interface-pair object from its VPP index.
Definition at line 141 of file lcp_interface.c.
Here is the caller graph for this function:
|
static |
|
static |
|
static |
| int lcp_itf_pair_replace_begin | ( | void | ) |
Begin and End the replace process.
Definition at line 846 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int lcp_itf_pair_replace_end | ( | void | ) |
Definition at line 873 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void lcp_itf_pair_show | ( | u32 | phy_sw_if_index | ) |
Definition at line 117 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void lcp_itf_pair_walk | ( | lcp_itf_pair_walk_cb_t | cb, |
| void * | ctx | ||
| ) |
Walk/visit each of the interface pairs.
Definition at line 475 of file lcp_interface.c.
Here is the caller graph for this function:Definition at line 834 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 101 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 859 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 195 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 612 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 188 of file lcp_interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| int __clib_weak lcp_nl_drain_messages | ( | void | ) |
|
static |
| VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION | ( | lcp_itf_pair_link_up_down | ) |
Here is the caller graph for this function:| VNET_SW_INTERFACE_ADD_DEL_FUNCTION | ( | lcp_itf_phy_add | ) |
Here is the caller graph for this function:| const char* lcp_itf_l3_feat_names[N_LCP_ITF_HOST][N_AF] |
Definition at line 171 of file lcp_interface.c.
|
static |
Definition at line 40 of file lcp_interface.c.
| lcp_itf_pair_t* lcp_itf_pair_pool |
Pool of LIP objects.
Definition at line 45 of file lcp_interface.c.
|
static |
(constructor) VLIB_REGISTER_NODE (lcp_itf_pair_process_node)
Definition at line 918 of file lcp_interface.c.
| const fib_route_path_flags_t lcp_itf_route_path_flags[N_LCP_ITF_HOST] |
Definition at line 182 of file lcp_interface.c.
| u32* lip_db_by_host |
Definition at line 61 of file lcp_interface.c.
| index_t* lip_db_by_phy |
Retreive the pair in the DP.
Definition at line 60 of file lcp_interface.c.
|
static |
DBs of interface-pair objects:
Definition at line 59 of file lcp_interface.c.
|
static |
Definition at line 494 of file lcp_interface.c.