FD.io VPP
v18.10-34-gcce845e
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.
Format the flags variable.
Definition at line 174 of file mpls_label_dpo.c.
|
static |
Definition at line 38 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 57 of file mpls_label_dpo.c.
|
static |
dpo_type_t mpls_label_dpo_get_type | ( | mpls_label_dpo_flags_t | flags | ) |
|
static |
void mpls_label_dpo_module_init | ( | void | ) |
Definition at line 1340 of file mpls_label_dpo.c.
|
static |
|
inlinestatic |
Definition at line 356 of file mpls_label_dpo.c.
|
static |
Interpose a label DPO.
used in the FIB unit tests
Definition at line 1211 of file mpls_label_dpo.c.
|
inlinestatic |
Definition at line 274 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL.
Definition at line 301 of file mpls_label_dpo.c.
|
inlinestatic |
Paint on an MPLS label and fixup the TTL and EXP bits.
Definition at line 319 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 340 of file mpls_label_dpo.c.
|
static |
VLIB_NODE_FUNCTION_MULTIARCH | ( | mpls_mpls_label_imposition_pipe_node | , |
mpls_mpls_label_imposition_pipe | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_mpls_label_imposition_pipe_node | , |
ip4_mpls_label_imposition_pipe | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_mpls_label_imposition_pipe_node | , |
ip6_mpls_label_imposition_pipe | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ethernet_mpls_label_imposition_pipe_node | , |
ethernet_mpls_label_imposition_pipe | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | mpls_mpls_label_imposition_uniform_node | , |
mpls_mpls_label_imposition_uniform | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_mpls_label_imposition_uniform_node | , |
ip4_mpls_label_imposition_uniform | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_mpls_label_imposition_uniform_node | , |
ip6_mpls_label_imposition_uniform | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ethernet_mpls_label_imposition_uniform_node | , |
ethernet_mpls_label_imposition_uniform | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_mpls_label_imposition_pipe_no_ip_ttl_decr_node | , |
ip4_mpls_label_imposition_pipe_no_ip_ttl_decr | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_mpls_label_imposition_pipe_no_ip_ttl_decr_node | , |
ip6_mpls_label_imposition_pipe_no_ip_ttl_decr | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_mpls_label_imposition_uniform_no_ip_ttl_decr_node | , |
ip4_mpls_label_imposition_uniform_no_ip_ttl_decr | |||
) |
VLIB_NODE_FUNCTION_MULTIARCH | ( | ip6_mpls_label_imposition_uniform_no_ip_ttl_decr_node | , |
ip6_mpls_label_imposition_uniform_no_ip_ttl_decr | |||
) |
vlib_node_registration_t ethernet_mpls_label_imposition_pipe_node |
(constructor) VLIB_REGISTER_NODE (ethernet_mpls_label_imposition_pipe_node)
Definition at line 987 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 1084 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 1109 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 939 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 1158 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 1036 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 1133 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 963 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 1183 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 1060 of file mpls_label_dpo.c.
|
static |
Definition at line 1239 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 29 of file mpls_label_dpo.c.
mpls_label_dpo_t* mpls_label_dpo_pool |
Definition at line 24 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 35 of file mpls_label_dpo.c.
|
static |
Definition at line 1262 of file mpls_label_dpo.c.
|
static |
Definition at line 1247 of file mpls_label_dpo.c.
|
static |
Definition at line 1252 of file mpls_label_dpo.c.
|
static |
Definition at line 1257 of file mpls_label_dpo.c.
|
static |
Definition at line 1305 of file mpls_label_dpo.c.
|
static |
Definition at line 1310 of file mpls_label_dpo.c.
|
static |
Definition at line 1316 of file mpls_label_dpo.c.
|
static |
Definition at line 1268 of file mpls_label_dpo.c.
|
static |
Definition at line 1291 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 1286 of file mpls_label_dpo.c.
|
static |
Definition at line 1322 of file mpls_label_dpo.c.
|
static |
Definition at line 1327 of file mpls_label_dpo.c.
|
static |
Definition at line 1333 of file mpls_label_dpo.c.
|
static |
Definition at line 1297 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 915 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 1012 of file mpls_label_dpo.c.