Go to the source code of this file.
|
index_t | gbp_rule_alloc (gbp_rule_action_t action, gbp_hash_mode_t hash_mode, index_t *nhs) |
|
index_t | gbp_next_hop_alloc (const ip46_address_t *ip, index_t grd, const mac_address_t *mac, index_t gbd) |
|
static gbp_next_hop_t * | gbp_next_hop_get (index_t gui) |
|
static void | gbp_contract_rules_free (index_t *rules) |
|
static u8 * | format_gbp_next_hop (u8 *s, va_list *args) |
|
static u8 * | format_gbp_rule_action (u8 *s, va_list *args) |
|
static u8 * | format_gbp_hash_mode (u8 *s, va_list *args) |
|
static u8 * | format_gbp_policy_node (u8 *s, va_list *args) |
|
static u8 * | format_gbp_rule (u8 *s, va_list *args) |
|
static void | gbp_contract_mk_adj (gbp_next_hop_t *gnh, fib_protocol_t fproto) |
|
static flow_hash_config_t | gbp_contract_mk_lb_hp (gbp_hash_mode_t gu_hash_mode) |
|
static void | gbp_contract_mk_lb (index_t gui, fib_protocol_t fproto) |
|
static void | gbp_contract_mk_one_lb (index_t gui) |
|
static int | gbp_contract_next_hop_resolve (index_t gui, index_t gnhi) |
|
static void | gbp_contract_rule_resolve (index_t gui) |
|
static void | gbp_contract_resolve (index_t *guis) |
|
static void | gbp_contract_mk_lbs (index_t *guis) |
|
int | gbp_contract_update (epg_id_t src_epg, epg_id_t dst_epg, u32 acl_index, index_t *rules, u16 *allowed_ethertypes) |
|
int | 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_t * | gbp_contract_cli (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static u8 * | format_gbp_contract_key (u8 *s, va_list *args) |
|
u8 * | format_gbp_contract (u8 *s, va_list *args) |
|
static clib_error_t * | gbp_contract_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static fib_node_t * | gbp_next_hop_get_node (fib_node_index_t index) |
|
static void | gbp_next_hop_last_lock_gone (fib_node_t *node) |
|
static gbp_next_hop_t * | gbp_next_hop_from_fib_node (fib_node_t *node) |
|
static fib_node_back_walk_rc_t | gbp_next_hop_back_walk_notify (fib_node_t *node, fib_node_back_walk_ctx_t *ctx) |
|
static clib_error_t * | gbp_contract_init (vlib_main_t *vm) |
|
u8* format_gbp_contract |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
static u8* format_gbp_contract_key |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_gbp_hash_mode |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_gbp_next_hop |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_gbp_policy_node |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_gbp_rule |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static u8* format_gbp_rule_action |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
static void gbp_contract_mk_lbs |
( |
index_t * |
guis | ) |
|
|
static |
static void gbp_contract_mk_one_lb |
( |
index_t |
gui | ) |
|
|
static |
static int gbp_contract_next_hop_resolve |
( |
index_t |
gui, |
|
|
index_t |
gnhi |
|
) |
| |
|
static |
static void gbp_contract_resolve |
( |
index_t * |
guis | ) |
|
|
static |
static void gbp_contract_rule_resolve |
( |
index_t |
gui | ) |
|
|
static |
static void gbp_contract_rules_free |
( |
index_t * |
rules | ) |
|
|
static |
static void gbp_next_hop_last_lock_gone |
( |
fib_node_t * |
node | ) |
|
|
static |
Initial value:=
{
.path = "gbp contract",
.short_help =
"gbp contract [del] src-epg <ID> dst-epg <ID> acl-index <ACL>",
}
static clib_error_t * gbp_contract_cli(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (gbp_contract_cli_node)
Definition at line 586 of file gbp_contract.c.
Single contract DB instance.
DP functions and databases.
Definition at line 29 of file gbp_contract.c.
Initial value:= {
.path = "show gbp contract",
.short_help = "show gbp contract\n",
}
static clib_error_t * gbp_contract_show(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (gbp_contract_show_node)
Definition at line 660 of file gbp_contract.c.
Initial value:= {
}
static fib_node_t * gbp_next_hop_get_node(fib_node_index_t index)
static void gbp_next_hop_last_lock_gone(fib_node_t *node)
static fib_node_back_walk_rc_t gbp_next_hop_back_walk_notify(fib_node_t *node, fib_node_back_walk_ctx_t *ctx)
Definition at line 706 of file gbp_contract.c.