FD.io VPP
v18.10-34-gcce845e
Vector Packet Processing
|
LISP-GPE definitions. More...
Go to the source code of this file.
Data Structures | |
struct | lisp_fwd_path_t_ |
A path on which to forward lisp traffic. More... | |
struct | lisp_gpe_fwd_entry_key_t_ |
LISP-GPE fwd entry key. More... | |
struct | lisp_gpe_fwd_entry_t_ |
A LISP Forwarding Entry. More... | |
Typedefs | |
typedef struct lisp_fwd_path_t_ | lisp_fwd_path_t |
A path on which to forward lisp traffic. More... | |
typedef enum lisp_gpe_fwd_entry_type_t_ | lisp_gpe_fwd_entry_type_t |
A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'. More... | |
typedef struct lisp_gpe_fwd_entry_key_t_ | lisp_gpe_fwd_entry_key_t |
LISP-GPE fwd entry key. More... | |
typedef struct lisp_gpe_fwd_entry_t_ | lisp_gpe_fwd_entry_t |
A LISP Forwarding Entry. More... | |
Enumerations | |
enum | lisp_gpe_fwd_entry_type_t_ { LISP_GPE_FWD_ENTRY_TYPE_NORMAL, LISP_GPE_FWD_ENTRY_TYPE_NEGATIVE } |
A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'. More... | |
Functions | |
int | vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp) |
Forwarding entry create/remove dispatcher. More... | |
void | vnet_lisp_gpe_fwd_entry_flush (void) |
Flush all the forwrding entries. More... | |
u32 | lisp_l2_fib_lookup (lisp_gpe_main_t *lgm, u16 bd_index, u8 src_mac[8], u8 dst_mac[8]) |
const dpo_id_t * | lisp_nsh_fib_lookup (lisp_gpe_main_t *lgm, u32 spi_si) |
Lookup NSH SD FIB entry. More... | |
void | vnet_lisp_gpe_del_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index) |
void | vnet_lisp_gpe_add_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index) |
u32 * | vnet_lisp_gpe_get_fwd_entry_vnis (void) |
int | vnet_lisp_gpe_get_fwd_stats (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, vlib_counter_t *c) |
LISP-GPE definitions.
Definition in file lisp_gpe_fwd_entry.h.
typedef struct lisp_fwd_path_t_ lisp_fwd_path_t |
A path on which to forward lisp traffic.
typedef struct lisp_gpe_fwd_entry_key_t_ lisp_gpe_fwd_entry_key_t |
LISP-GPE fwd entry key.
typedef struct lisp_gpe_fwd_entry_t_ lisp_gpe_fwd_entry_t |
A LISP Forwarding Entry.
A forwarding entry is from a locai EID to a remote EID over a set of rloc pairs
typedef enum lisp_gpe_fwd_entry_type_t_ lisp_gpe_fwd_entry_type_t |
A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'.
means send it down some tunnels.
A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB entry for an EID that results in 'special' behaviour determined by an 'action'.
means send it down some tunnels.
Enumerator | |
---|---|
LISP_GPE_FWD_ENTRY_TYPE_NORMAL | |
LISP_GPE_FWD_ENTRY_TYPE_NEGATIVE |
Definition at line 53 of file lisp_gpe_fwd_entry.h.
u32 lisp_l2_fib_lookup | ( | lisp_gpe_main_t * | lgm, |
u16 | bd_index, | ||
u8 | src_mac[8], | ||
u8 | dst_mac[8] | ||
) |
const dpo_id_t* lisp_nsh_fib_lookup | ( | lisp_gpe_main_t * | lgm, |
u32 | spi_si_net_order | ||
) |
Lookup NSH SD FIB entry.
Does an SPI+SI lookup in the NSH LISP FIB.
[in] | lgm | Reference to lisp_gpe_main_t. |
[in] | spi_si | SPI + SI. |
Definition at line 914 of file lisp_gpe_fwd_entry.c.
int vnet_lisp_gpe_add_del_fwd_entry | ( | vnet_lisp_gpe_add_del_fwd_entry_args_t * | a, |
u32 * | hw_if_indexp | ||
) |
Forwarding entry create/remove dispatcher.
Calls l2 or l3 forwarding entry add/del function based on input data.
[in] | a | Forwarding entry parameters. |
[out] | hw_if_indexp | NOT USED |
Definition at line 1248 of file lisp_gpe_fwd_entry.c.
void vnet_lisp_gpe_add_fwd_counters | ( | vnet_lisp_gpe_add_del_fwd_entry_args_t * | a, |
u32 | fwd_entry_index | ||
) |
Definition at line 470 of file lisp_gpe_fwd_entry.c.
void vnet_lisp_gpe_del_fwd_counters | ( | vnet_lisp_gpe_add_del_fwd_entry_args_t * | a, |
u32 | fwd_entry_index | ||
) |
Definition at line 1327 of file lisp_gpe_fwd_entry.c.
void vnet_lisp_gpe_fwd_entry_flush | ( | void | ) |
Flush all the forwrding entries.
Definition at line 1354 of file lisp_gpe_fwd_entry.c.
u32* vnet_lisp_gpe_get_fwd_entry_vnis | ( | void | ) |
Definition at line 1518 of file lisp_gpe_fwd_entry.c.
int vnet_lisp_gpe_get_fwd_stats | ( | vnet_lisp_gpe_add_del_fwd_entry_args_t * | a, |
vlib_counter_t * | c | ||
) |
Definition at line 1563 of file lisp_gpe_fwd_entry.c.