16 #ifndef __GBP_RECIRC_H__ 17 #define __GBP_RECIRC_H__ int(* gbp_recirc_cb_t)(gbp_recirc_t *gbpe, void *ctx)
u32 gr_fib_index[FIB_PROTOCOL_IP_MAX]
FIB indices the EPG is mapped to.
#define FIB_PROTOCOL_IP_MAX
Definition outside of enum so it does not need to be included in non-defaulted switch statements...
u32 index_t
A Data-Path Object is an object that represents actions that are applied to packets are they are swit...
u8 gr_is_ext
Is the interface for packets post-NAT translatoin (i.e.
gbp_recirc_t * gbp_recirc_pool
Data plane functions.
An Endpoint Group representation.
epg_id_t gr_epg
EPG ID that packets will classify to when they arrive on this recirc.
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
struct gpb_recirc_t_ gbp_recirc_t
An Endpoint Group representation.
static const gbp_recirc_t * gbp_recirc_get(u32 sw_if_index)
index_t * gbp_recirc_db
Recirc configs keyed by sw_if_index.
void gbp_recirc_delete(u32 sw_if_index)
int gbp_recirc_add(u32 sw_if_index, epg_id_t epg_id, u8 is_ext)
void gbp_recirc_walk(gbp_recirc_cb_t bgpe, void *ctx)