16 #ifndef __GBP_ENDPOINT_H__ 17 #define __GBP_ENDPOINT_H__ 76 const ip46_address_t * ip,
epg_id_t epg_id);
gbp_itf_to_epg_db_t gbp_itf_to_epg_db
DP functions and databases.
A Group Based Policy Endpoint.
void gbp_itf_epg_delete(u32 sw_if_index)
Interface to source EPG DB - a per-interface vector.
gbp_endpoint_key_t * ge_key
The endpoint's interface and IP address.
struct gbp_endpoint_key_t_ gbp_endpoint_key_t
The key for an Endpoint.
struct gbp_itf_t_ gbp_itf_t
Result of a interface to EPG mapping.
u32 gek_sw_if_index
The interface on which the EP is connected.
struct gbp_itf_to_epg_db_t_ gbp_itf_to_epg_db_t
Interface to source EPG DB - a per-interface vector.
static u32 gbp_port_to_epg(u32 sw_if_index)
Get the source EPG for a port/interface.
ip46_address_t gek_ip
The IP[46] address of the endpoint.
Result of a interface to EPG mapping.
struct gbp_endpoint_t_ gbp_endpoint_t
A Group Based Policy Endpoint.
void gbp_itf_epg_update(u32 sw_if_index, epg_id_t src_epg, u8 do_policy)
Port to EPG mapping management.
int(* gbp_endpoint_cb_t)(gbp_endpoint_t *gbpe, void *ctx)
void gbp_endpoint_delete(u32 sw_if_index, const ip46_address_t *ip)
void gbp_endpoint_walk(gbp_endpoint_cb_t cb, void *ctx)
epg_id_t ge_epg_id
The endpoint's designated EPG.
int gbp_endpoint_update(u32 sw_if_index, const ip46_address_t *ip, epg_id_t epg_id)