FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | mpls_label_imposition_trace_t_ |
A struct to hold tracing information for the MPLS label imposition node. More... | |
Typedefs | |
typedef struct mpls_label_imposition_trace_t_ | mpls_label_imposition_trace_t |
A struct to hold tracing information for the MPLS label imposition node. More... | |
typedef struct mpls_label_imposition_trace_t_ mpls_label_imposition_trace_t |
A struct to hold tracing information for the MPLS label imposition node.
VLIB_NODE_FN() ethernet_mpls_label_imposition_pipe_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ethernet_mpls_label_imposition_uniform_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
Format the flags variable.
Definition at line 175 of file mpls_label_dpo.c.
VLIB_NODE_FN() ip4_mpls_label_imposition_pipe_no_ip_ttl_decr_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip4_mpls_label_imposition_pipe_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip4_mpls_label_imposition_uniform_no_ip_ttl_decr_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip4_mpls_label_imposition_uniform_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip6_mpls_label_imposition_pipe_no_ip_ttl_decr_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip6_mpls_label_imposition_pipe_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip6_mpls_label_imposition_uniform_no_ip_ttl_decr_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip6_mpls_label_imposition_uniform_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
static |
Definition at line 39 of file mpls_label_dpo.c.
void mpls_label_dpo_create | ( | fib_mpls_label_t * | label_stack, |
mpls_eos_bit_t | eos, | ||
dpo_proto_t | payload_proto, | ||
mpls_label_dpo_flags_t | flags, | ||
const dpo_id_t * | paremt, | ||
dpo_id_t * | dpo | ||
) |
Create an MPLS label object.
label_stack | The stack if labels to impose, outer most label first |
eos | The inner most label's EOS bit |
payload_proto | The ptocool of the payload packets that will be imposed with this label header. |
parent | The parent of the created MPLS label object |
dpo | The MPLS label DPO created |
Definition at line 58 of file mpls_label_dpo.c.
|
static |
dpo_type_t mpls_label_dpo_get_type | ( | mpls_label_dpo_flags_t | flags | ) |
|
static |
|
static |
void mpls_label_dpo_module_init | ( | void | ) |
Definition at line 1312 of file mpls_label_dpo.c.
|
static |
|
inlinestatic |
Definition at line 358 of file mpls_label_dpo.c.
|
static |
Interpose a label DPO.
used in the FIB unit tests
Definition at line 1183 of file mpls_label_dpo.c.
|
inlinestatic |
Definition at line 276 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL.
Definition at line 303 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL and EXP bits.
Definition at line 321 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL and EXP bits When the EXP bits are already bit shift to the correct place in in the 2nd byte (i.e.
they were read from another label)
Definition at line 342 of file mpls_label_dpo.c.
VLIB_NODE_FN() mpls_mpls_label_imposition_pipe_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() mpls_mpls_label_imposition_uniform_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
vlib_node_registration_t ethernet_mpls_label_imposition_pipe_node |
(constructor) VLIB_REGISTER_NODE (ethernet_mpls_label_imposition_pipe_node)
Definition at line 994 of file mpls_label_dpo.c.
vlib_node_registration_t ethernet_mpls_label_imposition_uniform_node |
(constructor) VLIB_REGISTER_NODE (ethernet_mpls_label_imposition_uniform_node)
Definition at line 1074 of file mpls_label_dpo.c.
vlib_node_registration_t ip4_mpls_label_imposition_pipe_no_ip_ttl_decr_node |
(constructor) VLIB_REGISTER_NODE (ip4_mpls_label_imposition_pipe_no_ip_ttl_decr_node)
Definition at line 1095 of file mpls_label_dpo.c.
vlib_node_registration_t ip4_mpls_label_imposition_pipe_node |
(constructor) VLIB_REGISTER_NODE (ip4_mpls_label_imposition_pipe_node)
Definition at line 954 of file mpls_label_dpo.c.
vlib_node_registration_t ip4_mpls_label_imposition_uniform_no_ip_ttl_decr_node |
(constructor) VLIB_REGISTER_NODE (ip4_mpls_label_imposition_uniform_no_ip_ttl_decr_node)
Definition at line 1136 of file mpls_label_dpo.c.
vlib_node_registration_t ip4_mpls_label_imposition_uniform_node |
(constructor) VLIB_REGISTER_NODE (ip4_mpls_label_imposition_uniform_node)
Definition at line 1034 of file mpls_label_dpo.c.
vlib_node_registration_t ip6_mpls_label_imposition_pipe_no_ip_ttl_decr_node |
(constructor) VLIB_REGISTER_NODE (ip6_mpls_label_imposition_pipe_no_ip_ttl_decr_node)
Definition at line 1115 of file mpls_label_dpo.c.
vlib_node_registration_t ip6_mpls_label_imposition_pipe_node |
(constructor) VLIB_REGISTER_NODE (ip6_mpls_label_imposition_pipe_node)
Definition at line 974 of file mpls_label_dpo.c.
vlib_node_registration_t ip6_mpls_label_imposition_uniform_no_ip_ttl_decr_node |
(constructor) VLIB_REGISTER_NODE (ip6_mpls_label_imposition_uniform_no_ip_ttl_decr_node)
Definition at line 1157 of file mpls_label_dpo.c.
vlib_node_registration_t ip6_mpls_label_imposition_uniform_node |
(constructor) VLIB_REGISTER_NODE (ip6_mpls_label_imposition_uniform_node)
Definition at line 1054 of file mpls_label_dpo.c.
|
static |
Definition at line 1211 of file mpls_label_dpo.c.
const char* mpls_label_dpo_attr_names[] = MPLS_LABEL_DPO_ATTR_NAMES |
Strings for the flags.
Definition at line 30 of file mpls_label_dpo.c.
mpls_label_dpo_t* mpls_label_dpo_pool |
Definition at line 25 of file mpls_label_dpo.c.
|
static |
registered DPO types for each of the label sub-types.
And there's a subtype for each of the flag combinations.
Definition at line 36 of file mpls_label_dpo.c.
|
static |
Definition at line 1234 of file mpls_label_dpo.c.
|
static |
Definition at line 1219 of file mpls_label_dpo.c.
|
static |
Definition at line 1224 of file mpls_label_dpo.c.
|
static |
Definition at line 1229 of file mpls_label_dpo.c.
|
static |
Definition at line 1277 of file mpls_label_dpo.c.
|
static |
Definition at line 1282 of file mpls_label_dpo.c.
|
static |
Definition at line 1288 of file mpls_label_dpo.c.
|
static |
Definition at line 1240 of file mpls_label_dpo.c.
|
static |
Definition at line 1263 of file mpls_label_dpo.c.
|
static |
Definition at line 1248 of file mpls_label_dpo.c.
|
static |
Definition at line 1253 of file mpls_label_dpo.c.
|
static |
Definition at line 1258 of file mpls_label_dpo.c.
|
static |
Definition at line 1294 of file mpls_label_dpo.c.
|
static |
Definition at line 1299 of file mpls_label_dpo.c.
|
static |
Definition at line 1305 of file mpls_label_dpo.c.
|
static |
Definition at line 1269 of file mpls_label_dpo.c.
vlib_node_registration_t mpls_mpls_label_imposition_pipe_node |
(constructor) VLIB_REGISTER_NODE (mpls_mpls_label_imposition_pipe_node)
Definition at line 934 of file mpls_label_dpo.c.
vlib_node_registration_t mpls_mpls_label_imposition_uniform_node |
(constructor) VLIB_REGISTER_NODE (mpls_mpls_label_imposition_uniform_node)
Definition at line 1014 of file mpls_label_dpo.c.