20 #ifndef __LISP_GPE_FWD_ENTRY_H__ 21 #define __LISP_GPE_FWD_ENTRY_H__ 216 u16 bd_index,
u8 src_mac[8],
u8 dst_mac[8]);
222 u32 fwd_entry_index);
225 u32 fwd_entry_index);
u32 eid_bd_id
The Bridge-Domain (for L2) index.
negative_fwd_actions_e action
When the type is negative.
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.
const dpo_id_t * lisp_nsh_fib_lookup(lisp_gpe_main_t *lgm, u32 spi_si)
Lookup NSH SD FIB entry.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
Combined counter to hold both packets and byte differences.
u32 src_fib_index
The SRC-FIB index for created for anding source-route entries.
u32 eid_table_id
The VRF ID.
lisp_gpe_fwd_entry_key_t * key
The Entry's key: {lEID,rEID,vni}.
struct lisp_fwd_path_t_ lisp_fwd_path_t
A path on which to forward lisp traffic.
int vnet_lisp_gpe_get_fwd_stats(vnet_lisp_gpe_add_del_fwd_entry_args_t *a, vlib_counter_t *c)
u32 child_index
Child index of this entry on the path-list.
u32 tenant
The tenant the entry belongs to.
u32 eid_bd_index
The Bridge-domain index for the overlay EIDs.
void vnet_lisp_gpe_add_fwd_counters(vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index)
lisp_gpe_fwd_entry_type_t type
The forwarding entry type.
u32 lisp_l2_fib_lookup(lisp_gpe_main_t *lgm, u16 bd_index, u8 src_mac[8], u8 dst_mac[8])
lisp_gpe_fwd_entry_type_t_
A Forwarding entry can be 'normal' or 'negative' Negative implies we deliberately want to add a FIB e...
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
index_t dpoi_index
used for getting load balance statistics
An node in the FIB graph.
fib_node_index_t path_list_index
The path-list created for the forwarding.
dpo_id_t dpo
The DPO used to forward.
void vnet_lisp_gpe_fwd_entry_flush(void)
Flush all the forwrding entries.
u32 fib_node_index_t
A typedef of a node index.
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 e...
A path on which to forward lisp traffic.
u8 weight
[UE]CMP weigt for the path
struct lisp_gpe_fwd_entry_key_t_ lisp_gpe_fwd_entry_key_t
LISP-GPE fwd entry key.
u32 * vnet_lisp_gpe_get_fwd_entry_vnis(void)
dpo_id_t choice
The DPO used for forwarding.
u32 eid_fib_index
The FIB index for the overlay, i.e.
void vnet_lisp_gpe_del_fwd_counters(vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 fwd_entry_index)
lisp_fwd_path_t * paths
When the type is 'normal' The RLOC pair that form the route's paths.
struct lisp_gpe_fwd_entry_t_ lisp_gpe_fwd_entry_t
A LISP Forwarding Entry.
fib_node_t node
This object joins the FIB control plane graph to receive updates to for changes to the graph...
u8 is_src_dst
Follows src/dst or dst only forwarding policy.
index_t lisp_adj
The adjacency constructed for the locator pair.