FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | gbp_route_domain_db_t |
DB of route_domains. More... | |
Macros | |
#define | GBP_BD_DBG(...) vlib_log_debug (grd_logger, __VA_ARGS__); |
Typedefs | |
typedef struct gbp_route_domain_db_t | gbp_route_domain_db_t |
DB of route_domains. More... | |
Variables | |
static const mac_address_t | GBP_ROUTED_SRC_MAC |
A fixed MAC address to use as the source MAC for packets L3 switched onto the routed uu-fwd interfaces. More... | |
static const mac_address_t | GBP_ROUTED_DST_MAC |
gbp_route_domain_t * | gbp_route_domain_pool |
Pool of GBP route_domains. More... | |
static gbp_route_domain_db_t | gbp_route_domain_db |
static fib_source_t | gbp_fib_source |
vlib_log_class_t | grd_logger |
logger More... | |
static vlib_cli_command_t | gbp_route_domain_cli_node |
(constructor) VLIB_CLI_COMMAND (gbp_route_domain_cli_node) More... | |
static vlib_cli_command_t | gbp_route_domain_show_node |
(constructor) VLIB_CLI_COMMAND (gbp_route_domain_show_node) More... | |
#define GBP_BD_DBG | ( | ... | ) | vlib_log_debug (grd_logger, __VA_ARGS__); |
Definition at line 62 of file gbp_route_domain.c.
typedef struct gbp_route_domain_db_t gbp_route_domain_db_t |
DB of route_domains.
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.
|
static |
|
static |
|
static |
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 | grdi | ) |
Definition at line 246 of file gbp_route_domain.c.
index_t gbp_route_domain_index | ( | const gbp_route_domain_t * | grd | ) |
|
static |
|
static |
Definition at line 78 of file gbp_route_domain.c.
|
static |
|
static |
Definition at line 393 of file gbp_route_domain.c.
void gbp_route_domain_unlock | ( | index_t | index | ) |
Definition at line 208 of file gbp_route_domain.c.
void gbp_route_domain_walk | ( | gbp_route_domain_cb_t | cb, |
void * | ctx | ||
) |
|
static |
Definition at line 55 of file gbp_route_domain.c.
|
static |
(constructor) VLIB_CLI_COMMAND (gbp_route_domain_cli_node)
Definition at line 367 of file gbp_route_domain.c.
|
static |
Definition at line 54 of file gbp_route_domain.c.
gbp_route_domain_t* gbp_route_domain_pool |
Pool of GBP route_domains.
Definition at line 44 of file gbp_route_domain.c.
|
static |
(constructor) VLIB_CLI_COMMAND (gbp_route_domain_show_node)
Definition at line 421 of file gbp_route_domain.c.
|
static |
Definition at line 34 of file gbp_route_domain.c.
|
static |
A fixed MAC address to use as the source MAC for packets L3 switched onto the routed uu-fwd interfaces.
Magic values - origin lost to the mists of time...
Definition at line 28 of file gbp_route_domain.c.
vlib_log_class_t grd_logger |
logger
Definition at line 60 of file gbp_route_domain.c.