FD.io VPP
v21.01.1
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 180 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 63 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 1317 of file mpls_label_dpo.c.
|
static |
|
inlinestatic |
Definition at line 363 of file mpls_label_dpo.c.
|
static |
Interpose a label DPO.
used in the FIB unit tests
Definition at line 1188 of file mpls_label_dpo.c.
|
inlinestatic |
Definition at line 281 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL.
Definition at line 308 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL and EXP bits.
Definition at line 326 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 347 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 999 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 1079 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 1100 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 959 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 1141 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 1039 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 1120 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 979 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 1162 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 1059 of file mpls_label_dpo.c.
|
static |
Definition at line 1216 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 1239 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 1234 of file mpls_label_dpo.c.
|
static |
Definition at line 1282 of file mpls_label_dpo.c.
|
static |
Definition at line 1287 of file mpls_label_dpo.c.
|
static |
Definition at line 1293 of file mpls_label_dpo.c.
|
static |
Definition at line 1245 of file mpls_label_dpo.c.
|
static |
Definition at line 1268 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 1263 of file mpls_label_dpo.c.
|
static |
Definition at line 1299 of file mpls_label_dpo.c.
|
static |
Definition at line 1304 of file mpls_label_dpo.c.
|
static |
Definition at line 1310 of file mpls_label_dpo.c.
|
static |
Definition at line 1274 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 939 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 1019 of file mpls_label_dpo.c.