Go to the source code of this file.
|
struct | gbp_itf_t_ |
| Attributes and configurations attached to interfaces by GBP. More...
|
|
|
u8 * | format_gbp_itf_l3_feat (u8 *s, va_list *args) |
|
void | gbp_itf_hdl_reset (gbp_itf_hdl_t *gh) |
|
bool | gbp_itf_hdl_is_valid (gbp_itf_hdl_t gh) |
|
static gbp_itf_t * | gbp_itf_get (index_t gii) |
|
static gbp_itf_t * | gbp_itf_find (u32 sw_if_index) |
|
static gbp_itf_t * | gbp_itf_find_hdl (gbp_itf_hdl_t gh) |
|
u32 | gbp_itf_get_sw_if_index (gbp_itf_hdl_t hdl) |
|
static gbp_itf_hdl_t | gbp_itf_mk_hdl (gbp_itf_t *gi) |
|
static gbp_itf_hdl_t | gbp_itf_l2_add_and_lock_i (u32 sw_if_index, index_t gbi, gbp_itf_free_fn_t ff) |
|
gbp_itf_hdl_t | gbp_itf_l2_add_and_lock (u32 sw_if_index, index_t gbi) |
|
gbp_itf_hdl_t | gbp_itf_l2_add_and_lock_w_free (u32 sw_if_index, index_t gbi, gbp_itf_free_fn_t ff) |
|
gbp_itf_hdl_t | gbp_itf_l3_add_and_lock_i (u32 sw_if_index, index_t gri, gbp_itf_free_fn_t ff) |
|
gbp_itf_hdl_t | gbp_itf_l3_add_and_lock (u32 sw_if_index, index_t gri) |
|
gbp_itf_hdl_t | gbp_itf_l3_add_and_lock_w_free (u32 sw_if_index, index_t gri, gbp_itf_free_fn_t ff) |
|
void | gbp_itf_lock (gbp_itf_hdl_t gh) |
|
gbp_itf_hdl_t | gbp_itf_clone_and_lock (gbp_itf_hdl_t gh) |
|
void | gbp_itf_unlock (gbp_itf_hdl_t *gh) |
|
void | gbp_itf_l3_set_input_feature (gbp_itf_hdl_t gh, gbp_itf_l3_feat_t feats) |
|
void | gbp_itf_l2_set_input_feature (gbp_itf_hdl_t gh, l2input_feat_masks_t feats) |
|
void | gbp_itf_l2_set_output_feature (gbp_itf_hdl_t gh, l2output_feat_masks_t feats) |
|
static u8 * | format_gbp_itf_mode (u8 *s, va_list *args) |
|
static u8 * | format_gbp_itf (u8 *s, va_list *args) |
|
u8 * | format_gbp_itf_hdl (u8 *s, va_list *args) |
|
static clib_error_t * | gbp_itf_show (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
◆ foreach_gbp_itf_mode
#define foreach_gbp_itf_mode |
Value:_(L2, "l2") \
_(L3, "L3")
Definition at line 22 of file gbp_itf.c.
◆ gbp_itf_mode_t
◆ gbp_itf_t
Attributes and configurations attached to interfaces by GBP.
◆ gbp_ift_mode_t_
Enumerator |
---|
foreach_gbp_itf_mode | |
Definition at line 26 of file gbp_itf.c.
◆ format_gbp_itf()
static u8* format_gbp_itf |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_gbp_itf_hdl()
u8* format_gbp_itf_hdl |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_gbp_itf_l3_feat()
u8* format_gbp_itf_l3_feat |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ format_gbp_itf_mode()
static u8* format_gbp_itf_mode |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ gbp_itf_clone_and_lock()
◆ gbp_itf_find()
◆ gbp_itf_find_hdl()
◆ gbp_itf_get()
◆ gbp_itf_get_sw_if_index()
◆ gbp_itf_hdl_is_valid()
◆ gbp_itf_hdl_reset()
◆ gbp_itf_l2_add_and_lock()
◆ gbp_itf_l2_add_and_lock_i()
◆ gbp_itf_l2_add_and_lock_w_free()
◆ gbp_itf_l2_set_input_feature()
◆ gbp_itf_l2_set_output_feature()
◆ gbp_itf_l3_add_and_lock()
◆ gbp_itf_l3_add_and_lock_i()
◆ gbp_itf_l3_add_and_lock_w_free()
◆ gbp_itf_l3_set_input_feature()
◆ gbp_itf_lock()
◆ gbp_itf_mk_hdl()
◆ gbp_itf_show()
◆ gbp_itf_unlock()
◆ gbp_contract_show_node
Initial value:= {
.path = "show gbp interface",
.short_help = "show gbp interface\n",
}
static clib_error_t * gbp_itf_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 561 of file gbp_itf.c.
◆ gbp_itf_db
◆ gbp_itf_feat_bit_pos_to_arc
const char* gbp_itf_feat_bit_pos_to_arc[] |
|
static |
Initial value:
Definition at line 84 of file gbp_itf.c.
◆ gbp_itf_feat_bit_pos_to_feat
const char* gbp_itf_feat_bit_pos_to_feat[] |
|
static |
Initial value:
Definition at line 90 of file gbp_itf.c.
◆ gbp_itf_pool