Go to the source code of this file.
|
static index_t | gbp_subnet_db_find (u32 fib_index, const fib_prefix_t *pfx) |
|
static void | gbp_subnet_db_add (u32 fib_index, const fib_prefix_t *pfx, gbp_subnet_t *gs) |
|
static void | gbp_subnet_db_del (gbp_subnet_t *gs) |
|
static int | gbp_subnet_transport_add (gbp_subnet_t *gs) |
|
static int | gbp_subnet_internal_add (gbp_subnet_t *gs) |
|
static int | gbp_subnet_external_add (gbp_subnet_t *gs, u32 sw_if_index, sclass_t sclass) |
|
static int | gbp_subnet_l3_out_add (gbp_subnet_t *gs, sclass_t sclass, int is_anon) |
|
static void | gbp_subnet_del_i (index_t gsi) |
|
int | gbp_subnet_del (u32 rd_id, const fib_prefix_t *pfx) |
|
int | gbp_subnet_add (u32 rd_id, const fib_prefix_t *pfx, gbp_subnet_type_t type, u32 sw_if_index, sclass_t sclass) |
|
static clib_error_t * | gbp_subnet_add_del_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
void | gbp_subnet_walk (gbp_subnet_cb_t cb, void *ctx) |
|
static u8 * | format_gbp_subnet_type (u8 *s, va_list *args) |
|
u8 * | format_gbp_subnet (u8 *s, va_list *args) |
|
static clib_error_t * | gbp_subnet_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | gbp_subnet_init (vlib_main_t *vm) |
|
◆ gbp_subnet_key_t
◆ gbp_subnet_t
◆ gsb_subnet_show_flags_t
◆ gsb_subnet_show_flags_t_
Enumerator |
---|
GBP_SUBNET_SHOW_BRIEF | |
GBP_SUBNET_SHOW_DETAILS | |
Definition at line 454 of file gbp_subnet.c.
◆ format_gbp_subnet()
u8* format_gbp_subnet |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_gbp_subnet_type()
static u8* format_gbp_subnet_type |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_subnet_add()
◆ gbp_subnet_add_del_cli()
◆ gbp_subnet_db_add()
◆ gbp_subnet_db_del()
◆ gbp_subnet_db_find()
◆ gbp_subnet_del()
◆ gbp_subnet_del_i()
static void gbp_subnet_del_i |
( |
index_t |
gsi | ) |
|
|
static |
◆ gbp_subnet_external_add()
◆ gbp_subnet_init()
◆ gbp_subnet_internal_add()
◆ gbp_subnet_l3_out_add()
◆ gbp_subnet_show()
◆ gbp_subnet_transport_add()
◆ gbp_subnet_walk()
◆ gbp_fib_source
◆ gbp_subnet_add_del
Initial value:= {
.path = "gbp subnet",
.short_help = "gbp subnet [del] rd <ID> prefix <prefix> type <type> [<interface>] [sclass <sclass>]\n",
}
(constructor) VLIB_CLI_COMMAND (gbp_subnet_add_del)
Definition at line 406 of file gbp_subnet.c.
◆ gbp_subnet_db
A DB of the subnets; key={pfx,fib-index}.
Definition at line 61 of file gbp_subnet.c.
◆ gbp_subnet_pool
◆ gbp_subnet_show_node
Initial value:= {
.path = "show gbp subnet",
.short_help = "show gbp subnet\n",
}
(constructor) VLIB_CLI_COMMAND (gbp_subnet_show_node)
Definition at line 571 of file gbp_subnet.c.