16 #ifndef __GBP_RECIRC_H__ 17 #define __GBP_RECIRC_H__ index_t gr_epgi
The index of the EPG.
sclass_t gr_sclass
EPG ID that packets will classify to when they arrive on this recirc.
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
index_t gr_ep
The endpoint created to represent the reric interface.
enum walk_rc_t_ walk_rc_t
Walk return code.
u8 gr_is_ext
Is the interface for packets post-NAT translation (i.e.
vl_api_interface_index_t sw_if_index
gbp_recirc_t * gbp_recirc_pool
Data plane functions.
A GBP recirculation interface representation Thes interfaces join Bridge domains that are internal to...
u32 gr_fib_index[DPO_PROTO_NUM]
FIB indices the EPG is mapped to.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
struct gpb_recirc_t_ gbp_recirc_t
A GBP recirculation interface representation Thes interfaces join Bridge domains that are internal to...
walk_rc_t(* gbp_recirc_cb_t)(gbp_recirc_t *gbpe, void *ctx)
index_t * gbp_recirc_db
Recirc configs keyed by sw_if_index.
static gbp_recirc_t * gbp_recirc_get(u32 sw_if_index)
int gbp_recirc_delete(u32 sw_if_index)
void gbp_recirc_walk(gbp_recirc_cb_t bgpe, void *ctx)
int gbp_recirc_add(u32 sw_if_index, sclass_t sclass, u8 is_ext)