FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gpb_endpoint_group_t_ |
An Endpoint Group representation. More... | |
struct | gbp_endpoint_group_db_t_ |
EPG DB, key'd on EGP-ID. More... | |
Typedefs | |
typedef struct gpb_endpoint_group_t_ | gbp_endpoint_group_t |
An Endpoint Group representation. More... | |
typedef struct gbp_endpoint_group_db_t_ | gbp_endpoint_group_db_t |
EPG DB, key'd on EGP-ID. More... | |
typedef int(* | gbp_endpoint_group_cb_t) (gbp_endpoint_group_t *gbpe, void *ctx) |
Functions | |
int | gbp_endpoint_group_add_and_lock (epg_id_t epg_id, u32 bd_id, u32 rd_id, u32 uplink_sw_if_index) |
index_t | gbp_endpoint_group_find (epg_id_t epg_id) |
int | gbp_endpoint_group_delete (epg_id_t epg_id) |
void | gbp_endpoint_group_unlock (index_t index) |
void | gbp_endpoint_group_lock (index_t index) |
u32 | gbp_endpoint_group_get_bd_id (const gbp_endpoint_group_t *) |
gbp_endpoint_group_t * | gbp_endpoint_group_get (index_t i) |
index_t | gbp_endpoint_group_get_fib_index (const gbp_endpoint_group_t *gg, fib_protocol_t fproto) |
void | gbp_endpoint_group_walk (gbp_endpoint_group_cb_t bgpe, void *ctx) |
u8 * | format_gbp_endpoint_group (u8 *s, va_list *args) |
static u32 | gbp_epg_itf_lookup (epg_id_t epg) |
static const dpo_id_t * | gbp_epg_dpo_lookup (epg_id_t epg, fib_protocol_t fproto) |
Variables | |
gbp_endpoint_group_db_t | gbp_endpoint_group_db |
DP functions and databases. More... | |
gbp_endpoint_group_t * | gbp_endpoint_group_pool |
Pool of GBP endpoint_groups. More... | |
typedef int(* gbp_endpoint_group_cb_t) (gbp_endpoint_group_t *gbpe, void *ctx) |
Definition at line 87 of file gbp_endpoint_group.h.
typedef struct gbp_endpoint_group_db_t_ gbp_endpoint_group_db_t |
EPG DB, key'd on EGP-ID.
typedef struct gpb_endpoint_group_t_ gbp_endpoint_group_t |
An Endpoint Group representation.
Definition at line 308 of file gbp_endpoint_group.c.
int gbp_endpoint_group_add_and_lock | ( | epg_id_t | epg_id, |
u32 | bd_id, | ||
u32 | rd_id, | ||
u32 | uplink_sw_if_index | ||
) |
Definition at line 70 of file gbp_endpoint_group.c.
int gbp_endpoint_group_delete | ( | epg_id_t | epg_id | ) |
Definition at line 189 of file gbp_endpoint_group.c.
gbp_endpoint_group_t* gbp_endpoint_group_get | ( | index_t | i | ) |
u32 gbp_endpoint_group_get_bd_id | ( | const gbp_endpoint_group_t * | ) |
Definition at line 208 of file gbp_endpoint_group.c.
index_t gbp_endpoint_group_get_fib_index | ( | const gbp_endpoint_group_t * | gg, |
fib_protocol_t | fproto | ||
) |
Definition at line 218 of file gbp_endpoint_group.c.
void gbp_endpoint_group_lock | ( | index_t | index | ) |
Definition at line 48 of file gbp_endpoint_group.c.
void gbp_endpoint_group_unlock | ( | index_t | index | ) |
Definition at line 149 of file gbp_endpoint_group.c.
void gbp_endpoint_group_walk | ( | gbp_endpoint_group_cb_t | bgpe, |
void * | ctx | ||
) |
|
inlinestatic |
gbp_endpoint_group_db_t gbp_endpoint_group_db |
DP functions and databases.
DP functions and databases.
Definition at line 35 of file gbp_endpoint_group.c.
gbp_endpoint_group_t* gbp_endpoint_group_pool |
Pool of GBP endpoint_groups.
Definition at line 30 of file gbp_endpoint_group.c.