FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gpb_route_domain_t_ |
A route Domain Representation. More... | |
Typedefs | |
typedef struct gpb_route_domain_t_ | gbp_route_domain_t |
A route Domain Representation. More... | |
typedef int(* | gbp_route_domain_cb_t) (gbp_route_domain_t *gb, void *ctx) |
Functions | |
int | gbp_route_domain_add_and_lock (u32 rd_id, gbp_scope_t scope, u32 ip4_table_id, u32 ip6_table_id, u32 ip4_uu_sw_if_index, u32 ip6_uu_sw_if_index) |
void | gbp_route_domain_unlock (index_t grdi) |
index_t | gbp_route_domain_find_and_lock (u32 rd_id) |
index_t | gbp_route_domain_find (u32 rd_id) |
index_t | gbp_route_domain_index (const gbp_route_domain_t *) |
int | gbp_route_domain_delete (u32 rd_id) |
gbp_route_domain_t * | gbp_route_domain_get (index_t i) |
u32 | gbp_route_domain_get_rd_id (index_t i) |
gbp_scope_t | gbp_route_domain_get_scope (index_t i) |
void | gbp_route_domain_walk (gbp_route_domain_cb_t bgpe, void *ctx) |
const mac_address_t * | gbp_route_domain_get_local_mac (void) |
const mac_address_t * | gbp_route_domain_get_remote_mac (void) |
u8 * | format_gbp_route_domain (u8 *s, va_list *args) |
typedef int(* gbp_route_domain_cb_t) (gbp_route_domain_t *gb, void *ctx) |
Definition at line 68 of file gbp_route_domain.h.
typedef struct gpb_route_domain_t_ gbp_route_domain_t |
A route Domain Representation.
This is a standard route-domain plus all the attributes it must have to supprt the GBP model.
Definition at line 374 of file gbp_route_domain.c.
int gbp_route_domain_add_and_lock | ( | u32 | rd_id, |
gbp_scope_t | scope, | ||
u32 | ip4_table_id, | ||
u32 | ip6_table_id, | ||
u32 | ip4_uu_sw_if_index, | ||
u32 | ip6_uu_sw_if_index | ||
) |
Definition at line 128 of file gbp_route_domain.c.
int gbp_route_domain_delete | ( | u32 | rd_id | ) |
Definition at line 256 of file gbp_route_domain.c.
Definition at line 100 of file gbp_route_domain.c.
gbp_route_domain_t* gbp_route_domain_get | ( | index_t | i | ) |
const mac_address_t* gbp_route_domain_get_local_mac | ( | void | ) |
Definition at line 236 of file gbp_route_domain.c.
const mac_address_t* gbp_route_domain_get_remote_mac | ( | void | ) |
gbp_scope_t gbp_route_domain_get_scope | ( | index_t | i | ) |
Definition at line 246 of file gbp_route_domain.c.
index_t gbp_route_domain_index | ( | const gbp_route_domain_t * | ) |
void gbp_route_domain_unlock | ( | index_t | grdi | ) |
Definition at line 208 of file gbp_route_domain.c.
void gbp_route_domain_walk | ( | gbp_route_domain_cb_t | bgpe, |
void * | ctx | ||
) |