FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
gbp_endpoint_group.h File Reference
+ Include dependency graph for gbp_endpoint_group.h:
+ This graph shows which files directly or indirectly include this file:

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 (epg_id_t epg_id, u32 bd_id, u32 ip4_table_id, u32 ip6_table_id, u32 uplink_sw_if_index)
 
void gbp_endpoint_group_delete (epg_id_t epg_id)
 
void gbp_endpoint_group_walk (gbp_endpoint_group_cb_t bgpe, void *ctx)
 
gbp_endpoint_group_tgbp_endpoint_group_find (epg_id_t epg_id)
 
static u32 gbp_epg_itf_lookup (epg_id_t epg)
 
static const dpo_id_tgbp_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_tgbp_endpoint_group_pool
 Pool of GBP endpoint_groups. More...
 

Typedef Documentation

typedef int(* gbp_endpoint_group_cb_t) (gbp_endpoint_group_t *gbpe, void *ctx)

Definition at line 78 of file gbp_endpoint_group.h.

EPG DB, key'd on EGP-ID.

An Endpoint Group representation.

Function Documentation

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 
)

Definition at line 48 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_endpoint_group_delete ( epg_id_t  epg_id)

Definition at line 106 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

gbp_endpoint_group_t* gbp_endpoint_group_find ( epg_id_t  epg_id)

Definition at line 35 of file gbp_endpoint_group.c.

+ Here is the caller graph for this function:

void gbp_endpoint_group_walk ( gbp_endpoint_group_cb_t  bgpe,
void *  ctx 
)

Definition at line 136 of file gbp_endpoint_group.c.

+ Here is the caller graph for this function:

static const dpo_id_t* gbp_epg_dpo_lookup ( epg_id_t  epg,
fib_protocol_t  fproto 
)
inlinestatic

Definition at line 108 of file gbp_endpoint_group.h.

+ Here is the caller graph for this function:

static u32 gbp_epg_itf_lookup ( epg_id_t  epg)
inlinestatic

Definition at line 91 of file gbp_endpoint_group.h.

+ Here is the caller graph for this function:

Variable Documentation

gbp_endpoint_group_db_t gbp_endpoint_group_db

DP functions and databases.

DP functions and databases.

Definition at line 32 of file gbp_endpoint_group.c.

gbp_endpoint_group_t* gbp_endpoint_group_pool

Pool of GBP endpoint_groups.

Definition at line 27 of file gbp_endpoint_group.c.