FD.io VPP
v19.08-27-gf4dcae4
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 1294 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 1165 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 976 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 1056 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 1077 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 936 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 1118 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 1016 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 1097 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 956 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 1139 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 1036 of file mpls_label_dpo.c.
|
static |
Definition at line 1193 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 1216 of file mpls_label_dpo.c.
|
static |
Definition at line 1201 of file mpls_label_dpo.c.
|
static |
Definition at line 1206 of file mpls_label_dpo.c.
|
static |
Definition at line 1211 of file mpls_label_dpo.c.
|
static |
Definition at line 1259 of file mpls_label_dpo.c.
|
static |
Definition at line 1264 of file mpls_label_dpo.c.
|
static |
Definition at line 1270 of file mpls_label_dpo.c.
|
static |
Definition at line 1222 of file mpls_label_dpo.c.
|
static |
Definition at line 1245 of file mpls_label_dpo.c.
|
static |
Definition at line 1230 of file mpls_label_dpo.c.
|
static |
Definition at line 1235 of file mpls_label_dpo.c.
|
static |
Definition at line 1240 of file mpls_label_dpo.c.
|
static |
Definition at line 1276 of file mpls_label_dpo.c.
|
static |
Definition at line 1281 of file mpls_label_dpo.c.
|
static |
Definition at line 1287 of file mpls_label_dpo.c.
|
static |
Definition at line 1251 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 916 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 996 of file mpls_label_dpo.c.