FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gbp_bridge_domain_t_ |
A bridge Domain Representation. More... | |
struct | gbp_bridge_domain_db_t |
DB of bridge_domains. More... | |
Typedefs | |
typedef enum gbp_bridge_domain_flags_t_ | gbp_bridge_domain_flags_t |
Bridge Domain Flags. More... | |
typedef struct gbp_bridge_domain_t_ | gbp_bridge_domain_t |
A bridge Domain Representation. More... | |
typedef int(* | gbp_bridge_domain_cb_t) (gbp_bridge_domain_t *gb, void *ctx) |
typedef struct gbp_bridge_domain_db_t | gbp_bridge_domain_db_t |
DB of bridge_domains. More... | |
Enumerations | |
enum | gbp_bridge_domain_flags_t_ { GBP_BD_FLAG_NONE = 0, GBP_BD_FLAG_DO_NOT_LEARN = (1 << 0) } |
Bridge Domain Flags. More... | |
Functions | |
int | gbp_bridge_domain_add_and_lock (u32 bd_id, gbp_bridge_domain_flags_t flags, u32 bvi_sw_if_index, u32 uu_fwd_sw_if_index) |
void | gbp_bridge_domain_unlock (index_t gbi) |
index_t | gbp_bridge_domain_find_and_lock (u32 bd_id) |
int | gbp_bridge_domain_delete (u32 bd_id) |
index_t | gbp_bridge_domain_index (const gbp_bridge_domain_t *) |
u32 | gbp_bridge_domain_get_bd_id (index_t gbdi) |
void | gbp_bridge_domain_walk (gbp_bridge_domain_cb_t bgpe, void *ctx) |
u8 * | format_gbp_bridge_domain (u8 *s, va_list *args) |
static gbp_bridge_domain_t * | gbp_bridge_domain_get (index_t i) |
static gbp_bridge_domain_t * | gbp_bridge_domain_get_by_bd_index (u32 bd_index) |
Variables | |
gbp_bridge_domain_db_t | gbp_bridge_domain_db |
DB of bridge_domains. More... | |
gbp_bridge_domain_t * | gbp_bridge_domain_pool |
Pool of GBP bridge_domains. More... | |
typedef int(* gbp_bridge_domain_cb_t) (gbp_bridge_domain_t *gb, void *ctx) |
Definition at line 83 of file gbp_bridge_domain.h.
typedef struct gbp_bridge_domain_db_t gbp_bridge_domain_db_t |
DB of bridge_domains.
typedef enum gbp_bridge_domain_flags_t_ gbp_bridge_domain_flags_t |
Bridge Domain Flags.
typedef struct gbp_bridge_domain_t_ gbp_bridge_domain_t |
A bridge Domain Representation.
This is a standard bridge-domain plus all the attributes it must have to supprt the GBP model.
Bridge Domain Flags.
Enumerator | |
---|---|
GBP_BD_FLAG_NONE | |
GBP_BD_FLAG_DO_NOT_LEARN |
Definition at line 26 of file gbp_bridge_domain.h.
Definition at line 136 of file gbp_bridge_domain.c.
int gbp_bridge_domain_add_and_lock | ( | u32 | bd_id, |
gbp_bridge_domain_flags_t | flags, | ||
u32 | bvi_sw_if_index, | ||
u32 | uu_fwd_sw_if_index | ||
) |
Definition at line 148 of file gbp_bridge_domain.c.
int gbp_bridge_domain_delete | ( | u32 | bd_id | ) |
Definition at line 246 of file gbp_bridge_domain.c.
Definition at line 83 of file gbp_bridge_domain.c.
|
inlinestatic |
Definition at line 60 of file gbp_bridge_domain.c.
|
inlinestatic |
Definition at line 107 of file gbp_bridge_domain.h.
index_t gbp_bridge_domain_index | ( | const gbp_bridge_domain_t * | ) |
void gbp_bridge_domain_unlock | ( | index_t | gbi | ) |
Definition at line 215 of file gbp_bridge_domain.c.
void gbp_bridge_domain_walk | ( | gbp_bridge_domain_cb_t | bgpe, |
void * | ctx | ||
) |
gbp_bridge_domain_db_t gbp_bridge_domain_db |
DB of bridge_domains.
Definition at line 34 of file gbp_bridge_domain.c.
gbp_bridge_domain_t* gbp_bridge_domain_pool |
Pool of GBP bridge_domains.
Definition at line 29 of file gbp_bridge_domain.c.