16 #ifndef __GBP_ENDPOINT_GROUP_H__ 17 #define __GBP_ENDPOINT_GROUP_H__ 75 u32 ip6_table_id,
u32 uplink_sw_if_index);
EPG DB, key'd on EGP-ID.
void gbp_endpoint_group_walk(gbp_endpoint_group_cb_t bgpe, void *ctx)
u32 gepg_bd
Bridge-domain ID the EPG is in.
#define FIB_PROTOCOL_IP_MAX
Definition outside of enum so it does not need to be included in non-defaulted switch statements...
enum fib_protocol_t_ fib_protocol_t
Protocol Type.
static u32 gbp_epg_itf_lookup(epg_id_t epg)
struct gpb_endpoint_group_t_ gbp_endpoint_group_t
An Endpoint Group representation.
u32 gepg_fib_index[FIB_PROTOCOL_IP_MAX]
resulting FIB indices
gbp_endpoint_group_t * gbp_endpoint_group_pool
Pool of GBP endpoint_groups.
void gbp_endpoint_group_delete(epg_id_t epg_id)
int(* gbp_endpoint_group_cb_t)(gbp_endpoint_group_t *gbpe, void *ctx)
The identity of a DPO is a combination of its type and its instance number/index of objects of that t...
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static const dpo_id_t * gbp_epg_dpo_lookup(epg_id_t epg, fib_protocol_t fproto)
gbp_endpoint_group_db_t gbp_endpoint_group_db
DP functions and databases.
An Endpoint Group representation.
dpo_id_t gepg_dpo[FIB_PROTOCOL_IP_MAX]
The DPO used in the L3 path for forwarding internal subnets.
struct gbp_endpoint_group_db_t_ gbp_endpoint_group_db_t
EPG DB, key'd on EGP-ID.
u32 gepg_uplink_sw_if_index
the uplink interface dedicated to the EPG
u8 gepg_is_ext
Is the EPG an external/NAT.
gbp_endpoint_group_t * gbp_endpoint_group_find(epg_id_t epg_id)
u32 gepg_rd[FIB_PROTOCOL_IP_MAX]
route-domain/IP-table ID the EPG is in
int gbp_endpoint_group_add(epg_id_t epg_id, u32 bd_id, u32 ip4_table_id, u32 ip6_table_id, u32 uplink_sw_if_index)