![]() |
FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
Include dependency graph for mpls.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | mpls_fib_t_ |
| struct | mpls_main_t |
| struct | show_mpls_fib_t |
Macros | |
| #define | mpls_error(n, s) MPLS_ERROR_##n, |
| #define | MPLS_FIB_DEFAULT_TABLE_ID 0 |
| #define | MPLS_FIB_KEY_SIZE 21 |
| Type exposure is to allow the DP fast/inlined access. More... | |
| #define | MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1)) |
| #define | foreach_mpls_input_next |
| #define | foreach_mpls_lookup_next |
| #define | foreach_mpls_output_next _(DROP, "error-drop") |
Typedefs | |
| typedef struct mpls_fib_t_ | mpls_fib_t |
| typedef 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. More... | |
Enumerations | |
| enum | mpls_error_t { mpls_error, mpls_error } |
| enum | mpls_input_next_t { MPLS_INPUT_N_NEXT } |
| enum | mpls_lookup_next_t { MPLS_LOOKUP_N_NEXT } |
| enum | mpls_output_next_t { MPLS_OUTPUT_N_NEXT } |
Functions | |
| clib_error_t * | mpls_feature_init (vlib_main_t *vm) |
| void | mpls_sw_interface_enable_disable (mpls_main_t *mm, u32 sw_if_index, u8 is_enable) |
| u8 | mpls_sw_interface_is_enabled (u32 sw_if_index) |
| int | mpls_fib_reset_labels (u32 fib_id) |
| int | mpls_dest_cmp (void *a1, void *a2) |
| int | mpls_fib_index_cmp (void *a1, void *a2) |
| int | mpls_label_cmp (void *a1, void *a2) |
Variables | |
| mpls_main_t | mpls_main |
| format_function_t | format_mpls_protocol |
| format_function_t | format_mpls_encap_index |
| format_function_t | format_mpls_eos_bit |
| format_function_t | format_mpls_unicast_header_net_byte_order |
| format_function_t | format_mpls_unicast_label |
| format_function_t | format_mpls_header |
| vlib_node_registration_t | mpls_input_node |
| (constructor) VLIB_REGISTER_NODE (mpls_input_node) More... | |
| vlib_node_registration_t | mpls_policy_encap_node |
| vlib_node_registration_t | mpls_output_node |
| (constructor) VLIB_REGISTER_NODE (mpls_output_node) More... | |
| vlib_node_registration_t | mpls_midchain_node |
| (constructor) VLIB_REGISTER_NODE (mpls_midchain_node) More... | |
| unformat_function_t | unformat_mpls_protocol_host_byte_order |
| unformat_function_t | unformat_mpls_protocol_net_byte_order |
| unformat_function_t | unformat_mpls_label_net_byte_order |
| unformat_function_t | unformat_mpls_unicast_label |
| unformat_function_t | unformat_mpls_header |
| unformat_function_t | unformat_pg_mpls_header |
| #define foreach_mpls_input_next |
| #define foreach_mpls_lookup_next |
| #define MPLS_FIB_DB_SIZE (1 << (MPLS_FIB_KEY_SIZE-1)) |
| #define MPLS_FIB_KEY_SIZE 21 |
| typedef struct mpls_fib_t_ mpls_fib_t |
| enum mpls_error_t |
| enum mpls_input_next_t |
| enum mpls_lookup_next_t |
| enum mpls_output_next_t |
| clib_error_t* mpls_feature_init | ( | vlib_main_t * | vm | ) |
| void mpls_sw_interface_enable_disable | ( | mpls_main_t * | mm, |
| u32 | sw_if_index, | ||
| u8 | is_enable | ||
| ) |
Definition at line 38 of file interface.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 27 of file interface.c.
| format_function_t format_mpls_encap_index |
| format_function_t format_mpls_eos_bit |
| format_function_t format_mpls_header |
| format_function_t format_mpls_protocol |
| format_function_t format_mpls_unicast_header_net_byte_order |
| format_function_t format_mpls_unicast_label |
| vlib_node_registration_t mpls_input_node |
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
| mpls_main_t mpls_main |
| vlib_node_registration_t mpls_midchain_node |
(constructor) VLIB_REGISTER_NODE (mpls_midchain_node)
Definition at line 337 of file mpls_output.c.
| vlib_node_registration_t mpls_output_node |
(constructor) VLIB_REGISTER_NODE (mpls_output_node)
Definition at line 309 of file mpls_output.c.
| vlib_node_registration_t mpls_policy_encap_node |
| unformat_function_t unformat_mpls_header |
| unformat_function_t unformat_mpls_label_net_byte_order |
| unformat_function_t unformat_mpls_protocol_host_byte_order |
| unformat_function_t unformat_mpls_protocol_net_byte_order |
| unformat_function_t unformat_mpls_unicast_label |
| unformat_function_t unformat_pg_mpls_header |