FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
gbp_endpoint_group.c File Reference
+ Include dependency graph for gbp_endpoint_group.c:

Go to the source code of this file.

Functions

gbp_endpoint_group_tgbp_endpoint_group_find (epg_id_t epg_id)
 
int gbp_endpoint_group_add (epg_id_t epg_id, u32 bd_id, u32 ip4_table_id, u32 ip6_table_id, u32 uplink_sw_if_index)
 
void gbp_endpoint_group_delete (epg_id_t epg_id)
 
void gbp_endpoint_group_walk (gbp_endpoint_group_cb_t cb, void *ctx)
 
static clib_error_tgbp_endpoint_group_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static int gbp_endpoint_group_show_one (gbp_endpoint_group_t *gepg, void *ctx)
 
static clib_error_tgbp_endpoint_group_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

gbp_endpoint_group_tgbp_endpoint_group_pool
 Pool of GBP endpoint_groups. More...
 
gbp_endpoint_group_db_t gbp_endpoint_group_db
 DB of endpoint_groups. More...
 
static vlib_cli_command_t gbp_endpoint_group_cli_node
 (constructor) VLIB_CLI_COMMAND (gbp_endpoint_group_cli_node) More...
 
static vlib_cli_command_t gbp_endpoint_group_show_node
 (constructor) VLIB_CLI_COMMAND (gbp_endpoint_group_show_node) More...
 

Function Documentation

int gbp_endpoint_group_add ( epg_id_t  epg_id,
u32  bd_id,
u32  ip4_table_id,
u32  ip6_table_id,
u32  uplink_sw_if_index 
)

Definition at line 48 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* gbp_endpoint_group_cli ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 150 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

void gbp_endpoint_group_delete ( epg_id_t  epg_id)

Definition at line 106 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

gbp_endpoint_group_t* gbp_endpoint_group_find ( epg_id_t  epg_id)

Definition at line 35 of file gbp_endpoint_group.c.

+ Here is the caller graph for this function:

static clib_error_t* gbp_endpoint_group_show ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 232 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

static int gbp_endpoint_group_show_one ( gbp_endpoint_group_t gepg,
void *  ctx 
)
static

Definition at line 215 of file gbp_endpoint_group.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_endpoint_group_walk ( gbp_endpoint_group_cb_t  cb,
void *  ctx 
)

Definition at line 136 of file gbp_endpoint_group.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t gbp_endpoint_group_cli_node
static
Initial value:
= {
.path = "gbp endpoint-group",
.short_help = "gbp endpoint-group [del] epg <ID> bd <ID> <interface>",
}
static clib_error_t * gbp_endpoint_group_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (gbp_endpoint_group_cli_node)

Definition at line 208 of file gbp_endpoint_group.c.

gbp_endpoint_group_db_t gbp_endpoint_group_db

DB of endpoint_groups.

DP functions and databases.

Definition at line 32 of file gbp_endpoint_group.c.

gbp_endpoint_group_t* gbp_endpoint_group_pool

Pool of GBP endpoint_groups.

Definition at line 27 of file gbp_endpoint_group.c.

vlib_cli_command_t gbp_endpoint_group_show_node
static
Initial value:
= {
.path = "show gbp endpoint-group",
.short_help = "show gbp endpoint-group\n",
}
static clib_error_t * gbp_endpoint_group_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (gbp_endpoint_group_show_node)

Definition at line 250 of file gbp_endpoint_group.c.