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, u32 sw_if_index, sclass_t sclass) |
|
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) |
|
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) |
|
Enumerator |
---|
GBP_SUBNET_SHOW_BRIEF |
|
GBP_SUBNET_SHOW_DETAILS |
|
Definition at line 337 of file gbp_subnet.c.
u8* format_gbp_subnet |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static u8* format_gbp_subnet_type |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void gbp_subnet_del_i |
( |
index_t |
gsi | ) |
|
|
static |
A DB of the subnets; key={pfx,fib-index}.
Definition at line 61 of file gbp_subnet.c.
Initial value:= {
.path = "show gbp subnet",
.short_help = "show gbp subnet\n",
}
static clib_error_t * gbp_subnet_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (gbp_subnet_show_node)
Definition at line 451 of file gbp_subnet.c.