FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | lookup_trace_t_ |
Lookup trace data. More... | |
Macros | |
#define | MAX_LUKPS_PER_PACKET 4 |
If a packet encounters a lookup DPO more than the many times then we assume there is a loop in the forward graph and drop the packet. More... | |
#define | LOOKUP_SUB_TYPE_NUM (LOOKUP_SUB_TYPE_DST_TABLE_FROM_INTERFACE+1) |
#define | FOR_EACH_LOOKUP_SUB_TYPE(_st) for (_st = LOOKUP_SUB_TYPE_IP4_SRC; _st < LOOKUP_SUB_TYPE_NUM; _st++) |
Typedefs | |
typedef enum lookup_sub_type_t_ | lookup_sub_type_t |
Enumeration of the lookup subtypes. More... | |
typedef struct lookup_trace_t_ | lookup_trace_t |
Lookup trace data. More... | |
typedef enum lookup_ip_dst_mcast_next_t_ | mfib_forward_lookup_next_t |
Enumerations | |
enum | lookup_sub_type_t_ { LOOKUP_SUB_TYPE_SRC, LOOKUP_SUB_TYPE_DST, LOOKUP_SUB_TYPE_DST_MCAST, LOOKUP_SUB_TYPE_DST_TABLE_FROM_INTERFACE } |
Enumeration of the lookup subtypes. More... | |
enum | lookup_ip_dst_mcast_next_t_ { LOOKUP_IP_DST_MCAST_NEXT_DROP, LOOKUP_IP_DST_MCAST_NEXT_RPF, LOOKUP_IP_DST_MCAST_N_NEXT } |
Variables | |
static const char *const | lookup_input_names [] = LOOKUP_INPUTS |
static const char *const | lookup_cast_names [] = LOOKUP_CASTS |
lookup_dpo_t * | lookup_dpo_pool |
pool of all MPLS Label DPOs More... | |
static dpo_type_t | lookup_dpo_sub_types [LOOKUP_SUB_TYPE_NUM] |
An array of registered DPO type values for the sub-types. More... | |
vlib_node_registration_t | lookup_ip4_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_node) More... | |
vlib_node_registration_t | lookup_ip4_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_itf_node) More... | |
vlib_node_registration_t | lookup_ip4_src_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_src_node) More... | |
vlib_node_registration_t | lookup_ip6_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_node) More... | |
vlib_node_registration_t | lookup_ip6_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_itf_node) More... | |
vlib_node_registration_t | lookup_ip6_src_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_src_node) More... | |
vlib_node_registration_t | lookup_mpls_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_mpls_dst_node) More... | |
vlib_node_registration_t | lookup_mpls_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_mpls_dst_itf_node) More... | |
vlib_node_registration_t | lookup_ip4_dst_mcast_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_mcast_node) More... | |
vlib_node_registration_t | lookup_ip6_dst_mcast_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_mcast_node) More... | |
static const dpo_vft_t | lkd_vft |
static const dpo_vft_t | lkd_vft_w_mem_show |
static const char *const | lookup_src_ip4_nodes [] |
static const char *const | lookup_src_ip6_nodes [] |
static const char *const *const | lookup_src_nodes [DPO_PROTO_NUM] |
static const char *const | lookup_dst_ip4_nodes [] |
static const char *const | lookup_dst_ip6_nodes [] |
static const char *const | lookup_dst_mpls_nodes [] |
static const char *const *const | lookup_dst_nodes [DPO_PROTO_NUM] |
static const char *const | lookup_dst_mcast_ip4_nodes [] |
static const char *const | lookup_dst_mcast_ip6_nodes [] |
static const char *const *const | lookup_dst_mcast_nodes [DPO_PROTO_NUM] |
static const char *const | lookup_dst_from_interface_ip4_nodes [] |
static const char *const | lookup_dst_from_interface_ip6_nodes [] |
static const char *const | lookup_dst_from_interface_mpls_nodes [] |
static const char *const *const | lookup_dst_from_interface_nodes [DPO_PROTO_NUM] |
static vlib_cli_command_t | replicate_show_command |
(constructor) VLIB_CLI_COMMAND (replicate_show_command) More... | |
#define FOR_EACH_LOOKUP_SUB_TYPE | ( | _st | ) | for (_st = LOOKUP_SUB_TYPE_IP4_SRC; _st < LOOKUP_SUB_TYPE_NUM; _st++) |
Definition at line 49 of file lookup_dpo.c.
#define LOOKUP_SUB_TYPE_NUM (LOOKUP_SUB_TYPE_DST_TABLE_FROM_INTERFACE+1) |
Definition at line 47 of file lookup_dpo.c.
#define MAX_LUKPS_PER_PACKET 4 |
If a packet encounters a lookup DPO more than the many times then we assume there is a loop in the forward graph and drop the packet.
Definition at line 35 of file lookup_dpo.c.
typedef enum lookup_sub_type_t_ lookup_sub_type_t |
Enumeration of the lookup subtypes.
typedef struct lookup_trace_t_ lookup_trace_t |
Lookup trace data.
typedef enum lookup_ip_dst_mcast_next_t_ mfib_forward_lookup_next_t |
Enumerator | |
---|---|
LOOKUP_IP_DST_MCAST_NEXT_DROP | |
LOOKUP_IP_DST_MCAST_NEXT_RPF | |
LOOKUP_IP_DST_MCAST_N_NEXT |
Definition at line 1215 of file lookup_dpo.c.
enum lookup_sub_type_t_ |
Enumeration of the lookup subtypes.
Enumerator | |
---|---|
LOOKUP_SUB_TYPE_SRC | |
LOOKUP_SUB_TYPE_DST | |
LOOKUP_SUB_TYPE_DST_MCAST | |
LOOKUP_SUB_TYPE_DST_TABLE_FROM_INTERFACE |
Definition at line 40 of file lookup_dpo.c.
Definition at line 195 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 272 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 289 of file lookup_dpo.c.
|
static |
Definition at line 83 of file lookup_dpo.c.
void lookup_dpo_add_or_lock_w_fib_index | ( | fib_node_index_t | fib_index, |
dpo_proto_t | proto, | ||
lookup_cast_t | cast, | ||
lookup_input_t | input, | ||
lookup_table_t | table_config, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 137 of file lookup_dpo.c.
void lookup_dpo_add_or_lock_w_table_id | ( | u32 | table_id, |
dpo_proto_t | proto, | ||
lookup_cast_t | cast, | ||
lookup_input_t | input, | ||
lookup_table_t | table_config, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 163 of file lookup_dpo.c.
|
static |
|
static |
|
inlinestatic |
Definition at line 330 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 687 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 1222 of file lookup_dpo.c.
|
static |
|
static |
void lookup_dpo_module_init | ( | void | ) |
Definition at line 1502 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 1031 of file lookup_dpo.c.
|
static |
|
static |
VLIB_NODE_FN() lookup_ip4_dst_itf_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip4_dst_mcast_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip4_dst_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip4_src_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip6_dst_itf_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip6_dst_mcast_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip6_dst_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_ip6_src_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_mpls_dst_itf_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
VLIB_NODE_FN() lookup_mpls_dst_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | from_frame | ||
) |
|
static |
Definition at line 1368 of file lookup_dpo.c.
|
static |
Definition at line 1373 of file lookup_dpo.c.
|
static |
Definition at line 29 of file lookup_dpo.c.
lookup_dpo_t* lookup_dpo_pool |
pool of all MPLS Label DPOs
Definition at line 55 of file lookup_dpo.c.
|
static |
An array of registered DPO type values for the sub-types.
Definition at line 60 of file lookup_dpo.c.
|
static |
Definition at line 1435 of file lookup_dpo.c.
|
static |
Definition at line 1440 of file lookup_dpo.c.
|
static |
Definition at line 1445 of file lookup_dpo.c.
|
static |
Definition at line 1450 of file lookup_dpo.c.
|
static |
Definition at line 1397 of file lookup_dpo.c.
|
static |
Definition at line 1402 of file lookup_dpo.c.
|
static |
Definition at line 1419 of file lookup_dpo.c.
|
static |
Definition at line 1424 of file lookup_dpo.c.
|
static |
Definition at line 1429 of file lookup_dpo.c.
|
static |
Definition at line 1407 of file lookup_dpo.c.
|
static |
Definition at line 1412 of file lookup_dpo.c.
|
static |
Definition at line 28 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip4_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_itf_node)
Definition at line 665 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip4_dst_mcast_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_mcast_node)
Definition at line 1328 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip4_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_dst_node)
Definition at line 651 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip4_src_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip4_src_node)
Definition at line 679 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip6_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_itf_node)
Definition at line 1009 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip6_dst_mcast_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_mcast_node)
Definition at line 1347 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip6_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_dst_node)
Definition at line 995 of file lookup_dpo.c.
vlib_node_registration_t lookup_ip6_src_node |
(constructor) VLIB_REGISTER_NODE (lookup_ip6_src_node)
Definition at line 1023 of file lookup_dpo.c.
vlib_node_registration_t lookup_mpls_dst_itf_node |
(constructor) VLIB_REGISTER_NODE (lookup_mpls_dst_itf_node)
Definition at line 1207 of file lookup_dpo.c.
vlib_node_registration_t lookup_mpls_dst_node |
(constructor) VLIB_REGISTER_NODE (lookup_mpls_dst_node)
Definition at line 1192 of file lookup_dpo.c.
|
static |
Definition at line 1380 of file lookup_dpo.c.
|
static |
Definition at line 1385 of file lookup_dpo.c.
|
static |
Definition at line 1390 of file lookup_dpo.c.
|
static |
(constructor) VLIB_CLI_COMMAND (replicate_show_command)
Definition at line 1495 of file lookup_dpo.c.