|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
15 #ifndef included_vnet_mpls_h
16 #define included_vnet_mpls_h
28 #define mpls_error(n,s) MPLS_ERROR_##n,
90 u8 is_enable,
u8 is_api);
void mpls_table_delete(u32 table_id, u8 is_api)
int mpls_fib_index_cmp(void *a1, void *a2)
uword * fib_index_by_table_id
A hash table to lookup the mpls_fib by table ID.
unformat_function_t unformat_mpls_label_net_byte_order
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
vlib_node_registration_t mpls_input_node
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
format_function_t format_mpls_eos_bit
vlib_node_registration_t mpls_output_node
(constructor) VLIB_REGISTER_NODE (mpls_output_node)
int mpls_dest_cmp(void *a1, void *a2)
u8 * mpls_enabled_by_sw_if_index
void mpls_table_create(u32 table_id, u8 is_api, const u8 *name)
format_function_t format_mpls_header
A protocol Independent FIB table.
clib_error_t * mpls_feature_init(vlib_main_t *vm)
u8 input_feature_arc_index
u8 mpls_sw_interface_is_enabled(u32 sw_if_index)
unformat_function_t unformat_pg_mpls_header
unformat_function_t unformat_mpls_unicast_label
vlib_node_registration_t mpls_midchain_node
(constructor) VLIB_REGISTER_NODE (mpls_midchain_node)
struct _vlib_node_registration vlib_node_registration_t
u32 mpls_lookup_node_index
format_function_t format_mpls_unicast_header_net_byte_order
int mpls_sw_interface_enable_disable(mpls_main_t *mm, u32 sw_if_index, u8 is_enable, u8 is_api)
int mpls_label_cmp(void *a1, void *a2)
unformat_function_t unformat_mpls_header
u32 * fib_index_by_sw_if_index
struct fib_table_t_ * fibs
A pool of all the MPLS FIBs.
format_function_t format_mpls_unicast_label
vl_api_interface_index_t sw_if_index
struct mpls_fib_t_ * mpls_fibs
A pool of all the MPLS FIBs.
void(* mpls_interface_state_change_callback_t)(u32 sw_if_index, u32 is_enable)
Definition of a callback for receiving MPLS interface state change notifications.
u8 output_feature_arc_index