Go to the source code of this file.
|
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) |
|
#define foreach_mpls_input_next |
Value:_(IP4_INPUT, "ip4-input") \
_(L2_OUTPUT, "l2-output")
Definition at line 198 of file mpls.h.
#define mpls_error |
( |
|
n, |
|
|
|
s |
|
) |
| MPLS_ERROR_##n, |
#define MPLS_GRE_OUTPUT_NEXT_LOOKUP 1 |
Enumerator |
---|
MPLS_INPUT_N_NEXT |
|
Definition at line 203 of file mpls.h.
u8* format_mpls_eth_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_mpls_gre_header |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_mpls_gre_tx_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
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_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 | ) |
|
Initial value:= {
.name = "mpls-gre-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
#define _(s,n)
},
}
#define foreach_mpls_input_next
static uword mpls_input(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
format_function_t format_mpls_gre_header_with_length
u8 * format_mpls_rx_trace(u8 *s, va_list *args)
static char * mpls_error_strings[]
unformat_function_t unformat_mpls_gre_header
(constructor) VLIB_REGISTER_NODE (mpls_input_node)
Definition at line 258 of file node.c.
Initial value:= {
.name = "mpls-policy-encap",
.vector_size =
sizeof (
u32),
.runtime_data_bytes = 0,
.next_nodes = {
#define _(s,n)
},
}
u8 * format_mpls_policy_encap_trace(u8 *s, va_list *args)
#define foreach_mpls_policy_encap_next
static uword mpls_policy_encap(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame)
static char * mpls_policy_encap_error_strings[]
(constructor) VLIB_REGISTER_NODE (mpls_policy_encap_node)
Definition at line 135 of file policy_encap.c.