FD.io VPP
v21.06-3-gbb25fbf28
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 182 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 41 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 65 of file mpls_label_dpo.c.
|
static |
dpo_type_t mpls_label_dpo_get_type | ( | mpls_label_dpo_flags_t | flags | ) |
Definition at line 1350 of file mpls_label_dpo.c.
|
static |
|
static |
void mpls_label_dpo_module_init | ( | void | ) |
Definition at line 1332 of file mpls_label_dpo.c.
|
static |
|
inlinestatic |
Definition at line 365 of file mpls_label_dpo.c.
|
static |
Interpose a label DPO.
used in the FIB unit tests
Definition at line 1190 of file mpls_label_dpo.c.
|
inlinestatic |
Definition at line 283 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL.
Definition at line 310 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL and EXP bits.
Definition at line 328 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 349 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 1001 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 1081 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 1102 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 961 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 1143 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 1041 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 1122 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 981 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 1164 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 1061 of file mpls_label_dpo.c.
|
static |
Definition at line 1230 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 32 of file mpls_label_dpo.c.
mpls_label_dpo_t* mpls_label_dpo_pool |
Definition at line 27 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 38 of file mpls_label_dpo.c.
|
static |
Definition at line 1254 of file mpls_label_dpo.c.
|
static |
Definition at line 1239 of file mpls_label_dpo.c.
|
static |
Definition at line 1244 of file mpls_label_dpo.c.
|
static |
Definition at line 1249 of file mpls_label_dpo.c.
|
static |
Definition at line 1297 of file mpls_label_dpo.c.
|
static |
Definition at line 1302 of file mpls_label_dpo.c.
|
static |
Definition at line 1308 of file mpls_label_dpo.c.
|
static |
Definition at line 1260 of file mpls_label_dpo.c.
|
static |
Definition at line 1283 of file mpls_label_dpo.c.
|
static |
Definition at line 1268 of file mpls_label_dpo.c.
|
static |
Definition at line 1273 of file mpls_label_dpo.c.
|
static |
Definition at line 1278 of file mpls_label_dpo.c.
|
static |
Definition at line 1314 of file mpls_label_dpo.c.
|
static |
Definition at line 1319 of file mpls_label_dpo.c.
|
static |
Definition at line 1325 of file mpls_label_dpo.c.
|
static |
Definition at line 1289 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 941 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 1021 of file mpls_label_dpo.c.