Go to the source code of this file.
|
static mpls_disp_dpo_t * | mpls_disp_dpo_alloc (void) |
|
static index_t | mpls_disp_dpo_get_index (mpls_disp_dpo_t *mdd) |
|
index_t | mpls_disp_dpo_create (dpo_proto_t payload_proto, fib_rpf_id_t rpf_id, const dpo_id_t *dpo) |
| Create an MPLS label object. More...
|
|
u8 * | format_mpls_disp_dpo (u8 *s, va_list *args) |
|
static void | mpls_disp_dpo_lock (dpo_id_t *dpo) |
|
static void | mpls_disp_dpo_unlock (dpo_id_t *dpo) |
|
static uword | mpls_label_disposition_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *from_frame, u8 payload_is_ip4, u8 payload_is_ip6) |
|
static u8 * | format_mpls_label_disposition_trace (u8 *s, va_list *args) |
|
static uword | ip4_mpls_label_disposition (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip4_mpls_label_disposition_node, ip4_mpls_label_disposition) |
|
| VLIB_NODE_FUNCTION_MULTIARCH (ip6_mpls_label_disposition_node, ip6_mpls_label_disposition) |
|
void | mpls_disp_dpo_module_init (void) |
|
A struct to hold tracing information for the MPLS label disposition node.
u8* format_mpls_disp_dpo |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static u8* format_mpls_label_disposition_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
Create an MPLS label object.
- Parameters
-
payload_proto | The ptocool of the payload packets that will be imposed with this label header. |
dpo | The parent of the created MPLS label object |
Definition at line 46 of file mpls_disposition.c.
static void mpls_disp_dpo_lock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
void mpls_disp_dpo_module_init |
( |
void |
| ) |
|
static void mpls_disp_dpo_unlock |
( |
dpo_id_t * |
dpo | ) |
|
|
static |
Initial value:= {
.name = "ip4-mpls-label-disposition",
.vector_size =
sizeof (
u32),
.sibling_of = "ip4-input",
}
static uword ip4_mpls_label_disposition(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_mpls_label_disposition_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip4_mpls_label_disposition_node)
Definition at line 327 of file mpls_disposition.c.
Initial value:= {
.function = ip6_mpls_label_disposition,
.name = "ip6-mpls-label-disposition",
.vector_size =
sizeof (
u32),
.sibling_of = "ip6-input",
}
static u8 * format_mpls_label_disposition_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (ip6_mpls_label_disposition_node)
Definition at line 348 of file mpls_disposition.c.
Initial value:= {
.dv_mem_show = mpls_disp_dpo_mem_show,
}
static void mpls_disp_dpo_lock(dpo_id_t *dpo)
static void mpls_disp_dpo_unlock(dpo_id_t *dpo)
u8 * format_mpls_disp_dpo(u8 *s, va_list *args)
Definition at line 370 of file mpls_disposition.c.
const char* const mpls_label_disp_ip4_nodes[] |
|
static |
const char* const mpls_label_disp_ip6_nodes[] |
|
static |
Initial value:=
{
}
static const char *const mpls_label_disp_ip6_nodes[]
static const char *const mpls_label_disp_ip4_nodes[]
Definition at line 387 of file mpls_disposition.c.