FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | lookup_dpo_t |
A representation of an MPLS label for imposition in the data-path. More... | |
Macros | |
#define | LOOKUP_INPUTS |
#define | LOOKUP_TABLES |
#define | LOOKUP_CASTS |
Typedefs | |
typedef enum lookup_input_t_ | lookup_input_t |
Switch to use the packet's source or destination address for lookup. More... | |
typedef enum lookup_table_t_ | lookup_table_t |
Switch to use the packet's source or destination address for lookup. More... | |
typedef enum lookup_cast_t_ | lookup_cast_t |
Switch to use the packet's source or destination address for lookup. More... | |
typedef struct lookup_dpo_t | lookup_dpo_t |
A representation of an MPLS label for imposition in the data-path. More... | |
Enumerations | |
enum | lookup_input_t_ { LOOKUP_INPUT_SRC_ADDR, LOOKUP_INPUT_DST_ADDR } |
Switch to use the packet's source or destination address for lookup. More... | |
enum | lookup_table_t_ { LOOKUP_TABLE_FROM_INPUT_INTERFACE, LOOKUP_TABLE_FROM_CONFIG } |
Switch to use the packet's source or destination address for lookup. More... | |
enum | lookup_cast_t_ { LOOKUP_UNICAST, LOOKUP_MULTICAST } |
Switch to use the packet's source or destination address for lookup. More... | |
Functions | |
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, dpo_id_t *dpo) |
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, dpo_id_t *dpo) |
u8 * | format_lookup_dpo (u8 *s, va_list *args) |
static lookup_dpo_t * | lookup_dpo_get (index_t index) |
void | lookup_dpo_module_init (void) |
Variables | |
lookup_dpo_t * | lookup_dpo_pool |
pool of all MPLS Label DPOs More... | |
#define LOOKUP_CASTS |
Definition at line 57 of file lookup_dpo.h.
#define LOOKUP_INPUTS |
Definition at line 31 of file lookup_dpo.h.
#define LOOKUP_TABLES |
Definition at line 44 of file lookup_dpo.h.
typedef enum lookup_cast_t_ lookup_cast_t |
Switch to use the packet's source or destination address for lookup.
typedef struct lookup_dpo_t lookup_dpo_t |
A representation of an MPLS label for imposition in the data-path.
typedef enum lookup_input_t_ lookup_input_t |
Switch to use the packet's source or destination address for lookup.
typedef enum lookup_table_t_ lookup_table_t |
Switch to use the packet's source or destination address for lookup.
enum lookup_cast_t_ |
Switch to use the packet's source or destination address for lookup.
Enumerator | |
---|---|
LOOKUP_UNICAST | |
LOOKUP_MULTICAST |
Definition at line 52 of file lookup_dpo.h.
enum lookup_input_t_ |
Switch to use the packet's source or destination address for lookup.
Enumerator | |
---|---|
LOOKUP_INPUT_SRC_ADDR | |
LOOKUP_INPUT_DST_ADDR |
Definition at line 26 of file lookup_dpo.h.
enum lookup_table_t_ |
Switch to use the packet's source or destination address for lookup.
Enumerator | |
---|---|
LOOKUP_TABLE_FROM_INPUT_INTERFACE | |
LOOKUP_TABLE_FROM_CONFIG |
Definition at line 39 of file lookup_dpo.h.
Definition at line 191 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, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 133 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, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 159 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 127 of file lookup_dpo.h.
void lookup_dpo_module_init | ( | void | ) |
Definition at line 1527 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.