FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
gbp_contract.c File Reference
+ Include dependency graph for gbp_contract.c:

Go to the source code of this file.

Functions

void gbp_contract_update (epg_id_t src_epg, epg_id_t dst_epg, u32 acl_index)
 
void gbp_contract_delete (epg_id_t src_epg, epg_id_t dst_epg)
 
void gbp_contract_walk (gbp_contract_cb_t cb, void *ctx)
 
static clib_error_tgbp_contract_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static clib_error_tgbp_contract_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

gbp_contract_db_t gbp_contract_db
 Single contract DB instance. More...
 
static vlib_cli_command_t gbp_contract_cli_node
 (constructor) VLIB_CLI_COMMAND (gbp_contract_cli_node) More...
 
static vlib_cli_command_t gbp_contract_show_node
 (constructor) VLIB_CLI_COMMAND (gbp_contract_show_node) More...
 

Function Documentation

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

Definition at line 110 of file gbp_contract.c.

+ Here is the call graph for this function:

void gbp_contract_delete ( epg_id_t  src_epg,
epg_id_t  dst_epg 
)

Definition at line 70 of file gbp_contract.c.

+ Here is the caller graph for this function:

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

Definition at line 168 of file gbp_contract.c.

+ Here is the call graph for this function:

void gbp_contract_update ( epg_id_t  src_epg,
epg_id_t  dst_epg,
u32  acl_index 
)

Definition at line 26 of file gbp_contract.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gbp_contract_walk ( gbp_contract_cb_t  cb,
void *  ctx 
)

Definition at line 90 of file gbp_contract.c.

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t gbp_contract_cli_node
static
Initial value:
=
{
.path = "gbp contract",
.short_help =
"gbp contract [del] src-epg <ID> dst-epg <ID> acl-index <ACL>",
.function = gbp_contract_cli,
}
static clib_error_t * gbp_contract_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: gbp_contract.c:110

(constructor) VLIB_CLI_COMMAND (gbp_contract_cli_node)

Definition at line 158 of file gbp_contract.c.

gbp_contract_db_t gbp_contract_db

Single contract DB instance.

DP functions and databases.

Definition at line 23 of file gbp_contract.c.

vlib_cli_command_t gbp_contract_show_node
static
Initial value:
= {
.path = "show gbp contract",
.short_help = "show gbp contract\n",
.function = gbp_contract_show,
}
static clib_error_t * gbp_contract_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: gbp_contract.c:168

(constructor) VLIB_CLI_COMMAND (gbp_contract_show_node)

Definition at line 195 of file gbp_contract.c.