FD.io VPP
v16.09
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mpls_gre_tunnel_t |
struct | mpls_eth_tunnel_t |
struct | mpls_encap_t |
struct | mpls_decap_t |
struct | mpls_main_t |
struct | mpls_gre_tx_trace_t |
struct | mpls_eth_tx_trace_t |
struct | show_mpls_fib_t |
Macros | |
#define | mpls_error(n, s) MPLS_ERROR_##n, |
#define | MPLS_GRE_OUTPUT_NEXT_LOOKUP 1 |
#define | MPLS_GRE_OUTPUT_NEXT_DROP VNET_INTERFACE_TX_NEXT_DROP |
#define | foreach_mpls_input_next |
Enumerations | |
enum | mpls_gre_error_t { mpls_error, mpls_error } |
enum | mpls_input_next_t { MPLS_INPUT_N_NEXT } |
Functions | |
typedef | CLIB_PACKED (struct{ip4_header_t ip4;gre_header_t gre;mpls_unicast_header_t labels[0];}) ip4_gre_and_mpls_header_t |
mpls_encap_t * | mpls_encap_by_fib_and_dest (mpls_main_t *mm, u32 rx_fib, u32 dst_address) |
int | mpls_label_from_fib_id_and_dest (mpls_main_t *gm, u32 fib_id, u32 dst_address, u32 *labelp) |
int | vnet_mpls_gre_add_del_tunnel (ip4_address_t *src, ip4_address_t *dst, ip4_address_t *intfc, u32 mask_width, u32 inner_fib_id, u32 outer_fib_id, u32 *tunnel_intfc_sw_if_index, u8 l2_only, u8 is_add) |
int | vnet_mpls_ethernet_add_del_tunnel (u8 *dst, ip4_address_t *intfc, u32 mask_width, u32 inner_fib_id, u32 tx_sw_if_index, u32 *tunnel_sw_if_index, u8 l2_only, u8 is_add) |
int | vnet_mpls_gre_delete_fib_tunnels (u32 fib_id) |
int | mpls_fib_reset_labels (u32 fib_id) |
int | vnet_mpls_add_del_decap (u32 rx_fib_id, u32 tx_fib_id, u32 label_host_byte_order, int s_bit, int next_index, int is_add) |
int | vnet_mpls_add_del_encap (ip4_address_t *dest, u32 fib_id, u32 *labels_host_byte_order, u32 policy_tunnel_index, int no_dst_hash, u32 *indexp, int is_add) |
int | vnet_mpls_policy_tunnel_add_rewrite (mpls_main_t *mm, mpls_encap_t *e, u32 policy_tunnel_index) |
u8 * | format_mpls_gre_tx_trace (u8 *s, va_list *args) |
u8 * | format_mpls_gre_header (u8 *s, va_list *args) |
u8 * | format_mpls_eth_tx_trace (u8 *s, va_list *args) |
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) |
#define foreach_mpls_input_next |
#define MPLS_GRE_OUTPUT_NEXT_DROP VNET_INTERFACE_TX_NEXT_DROP |
enum mpls_gre_error_t |
enum mpls_input_next_t |
typedef CLIB_PACKED | ( | struct{ip4_header_t ip4;gre_header_t gre;mpls_unicast_header_t labels[0];} | ) |
int mpls_dest_cmp | ( | void * | a1, |
void * | a2 | ||
) |
mpls_encap_t* mpls_encap_by_fib_and_dest | ( | mpls_main_t * | mm, |
u32 | rx_fib, | ||
u32 | dst_address | ||
) |
int mpls_fib_index_cmp | ( | void * | a1, |
void * | a2 | ||
) |
int mpls_fib_reset_labels | ( | u32 | fib_id | ) |
int mpls_label_cmp | ( | void * | a1, |
void * | a2 | ||
) |
int mpls_label_from_fib_id_and_dest | ( | mpls_main_t * | gm, |
u32 | fib_id, | ||
u32 | dst_address, | ||
u32 * | labelp | ||
) |
int vnet_mpls_add_del_encap | ( | ip4_address_t * | dest, |
u32 | fib_id, | ||
u32 * | labels_host_byte_order, | ||
u32 | policy_tunnel_index, | ||
int | no_dst_hash, | ||
u32 * | indexp, | ||
int | is_add | ||
) |
int vnet_mpls_ethernet_add_del_tunnel | ( | u8 * | dst, |
ip4_address_t * | intfc, | ||
u32 | mask_width, | ||
u32 | inner_fib_id, | ||
u32 | tx_sw_if_index, | ||
u32 * | tunnel_sw_if_index, | ||
u8 | l2_only, | ||
u8 | is_add | ||
) |
Definition at line 1276 of file interface.c.
int vnet_mpls_gre_add_del_tunnel | ( | ip4_address_t * | src, |
ip4_address_t * | dst, | ||
ip4_address_t * | intfc, | ||
u32 | mask_width, | ||
u32 | inner_fib_id, | ||
u32 | outer_fib_id, | ||
u32 * | tunnel_intfc_sw_if_index, | ||
u8 | l2_only, | ||
u8 | is_add | ||
) |
Definition at line 728 of file interface.c.
int vnet_mpls_gre_delete_fib_tunnels | ( | u32 | fib_id | ) |
Definition at line 964 of file interface.c.
int vnet_mpls_policy_tunnel_add_rewrite | ( | mpls_main_t * | mm, |
mpls_encap_t * | e, | ||
u32 | policy_tunnel_index | ||
) |
Definition at line 1607 of file interface.c.
format_function_t format_mpls_encap_index |
format_function_t format_mpls_eth_header_with_length |
format_function_t format_mpls_gre_header_with_length |
format_function_t format_mpls_header |
format_function_t format_mpls_header_with_length |
format_function_t format_mpls_protocol |
format_function_t format_mpls_unicast_label |
vnet_device_class_t mpls_gre_device_class |
vnet_hw_interface_class_t mpls_gre_hw_interface_class |
vlib_node_registration_t mpls_input_node |
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
mpls_main_t mpls_main |
vlib_node_registration_t mpls_policy_encap_node |
(constructor) VLIB_REGISTER_NODE (mpls_policy_encap_node)
Definition at line 135 of file policy_encap.c.
unformat_function_t unformat_mpls_gre_header |
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_pg_mpls_gre_header |
unformat_function_t unformat_pg_mpls_header |