![]() |
FD.io VPP
v17.04.2-2-ga8f93f8
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 |
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 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... | |
Functions | |
void | lookup_dpo_add_or_lock_w_fib_index (fib_node_index_t fib_index, dpo_proto_t proto, 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_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_INPUTS |
Definition at line 31 of file lookup_dpo.h.
#define LOOKUP_TABLES |
Definition at line 44 of file lookup_dpo.h.
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_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.
void lookup_dpo_add_or_lock_w_fib_index | ( | fib_node_index_t | fib_index, |
dpo_proto_t | proto, | ||
lookup_input_t | input, | ||
lookup_table_t | table, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 116 of file lookup_dpo.c.
void lookup_dpo_add_or_lock_w_table_id | ( | u32 | table_id, |
dpo_proto_t | proto, | ||
lookup_input_t | input, | ||
lookup_table_t | table, | ||
dpo_id_t * | dpo | ||
) |
Definition at line 130 of file lookup_dpo.c.
|
inlinestatic |
Definition at line 101 of file lookup_dpo.h.
void lookup_dpo_module_init | ( | void | ) |
Definition at line 1185 of file lookup_dpo.c.
lookup_dpo_t* lookup_dpo_pool |
pool of all MPLS Label DPOs
Definition at line 44 of file lookup_dpo.c.