15 #ifndef included_vnet_mpls_h 16 #define included_vnet_mpls_h 28 #define mpls_error(n,s) MPLS_ERROR_##n, 87 u8 is_enable,
u8 is_api);
format_function_t format_mpls_header
u8 input_feature_arc_index
int mpls_label_cmp(void *a1, void *a2)
u32 * fib_index_by_sw_if_index
unformat_function_t unformat_mpls_unicast_label
u8 * mpls_enabled_by_sw_if_index
format_function_t format_mpls_unicast_header_net_byte_order
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. ...
vlib_node_registration_t mpls_midchain_node
(constructor) VLIB_REGISTER_NODE (mpls_midchain_node)
u8 output_feature_arc_index
format_function_t format_mpls_eos_bit
void mpls_table_delete(u32 table_id, u8 is_api)
int mpls_fib_reset_labels(u32 fib_id)
vlib_node_registration_t mpls_input_node
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
struct fib_table_t_ * fibs
A pool of all the MPLS FIBs.
int mpls_fib_index_cmp(void *a1, void *a2)
unformat_function_t unformat_mpls_header
unformat_function_t unformat_pg_mpls_header
clib_error_t * mpls_feature_init(vlib_main_t *vm)
u8 mpls_sw_interface_is_enabled(u32 sw_if_index)
void mpls_table_create(u32 table_id, u8 is_api, const u8 *name)
format_function_t format_mpls_unicast_label
struct _vlib_node_registration vlib_node_registration_t
unformat_function_t unformat_mpls_label_net_byte_order
uword * fib_index_by_table_id
A hash table to lookup the mpls_fib by table ID.
int mpls_sw_interface_enable_disable(mpls_main_t *mm, u32 sw_if_index, u8 is_enable, u8 is_api)
struct mpls_fib_t_ * mpls_fibs
A pool of all the MPLS FIBs.
vlib_node_registration_t mpls_output_node
(constructor) VLIB_REGISTER_NODE (mpls_output_node)
int mpls_dest_cmp(void *a1, void *a2)
A protocol Independent FIB table.