Go to the source code of this file.
|
clib_error_t * | policer_add_del (vlib_main_t *vm, u8 *name, sse2_qos_pol_cfg_params_st *cfg, u32 *policer_index, u8 is_add) |
|
u8 * | format_policer_instance (u8 *s, va_list *va) |
|
static u8 * | format_policer_round_type (u8 *s, va_list *va) |
|
static u8 * | format_policer_rate_type (u8 *s, va_list *va) |
|
static u8 * | format_policer_type (u8 *s, va_list *va) |
|
static u8 * | format_dscp (u8 *s, va_list *va) |
|
static u8 * | format_policer_action_type (u8 *s, va_list *va) |
|
u8 * | format_policer_config (u8 *s, va_list *va) |
|
static uword | unformat_policer_type (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_round_type (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_rate_type (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_cir (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_eir (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_cb (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_eb (unformat_input_t *input, va_list *va) |
|
static uword | unformat_dscp (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_action_type (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_action (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_classify_next_index (unformat_input_t *input, va_list *va) |
|
static uword | unformat_policer_classify_precolor (unformat_input_t *input, va_list *va) |
|
static clib_error_t * | configure_policer_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_policer_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | show_policer_pools_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
clib_error_t * | policer_init (vlib_main_t *vm) |
|
◆ foreach_config_param
#define foreach_config_param |
Value:_(eb) \
_(cb) \
_(eir) \
_(cir) \
_(rate_type) \
_(round_type) \
_(action)
vl_api_fib_path_type_t type
Definition at line 411 of file policer.c.
◆ configure_policer_command_fn()
◆ format_dscp()
static u8* format_dscp |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_policer_action_type()
static u8* format_policer_action_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_policer_config()
u8* format_policer_config |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ format_policer_instance()
u8* format_policer_instance |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
◆ format_policer_rate_type()
static u8* format_policer_rate_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_policer_round_type()
static u8* format_policer_round_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ format_policer_type()
static u8* format_policer_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
◆ policer_add_del()
◆ policer_init()
◆ show_policer_command_fn()
◆ show_policer_pools_command_fn()
◆ unformat_dscp()
◆ unformat_policer_action()
◆ unformat_policer_action_type()
◆ unformat_policer_cb()
◆ unformat_policer_cir()
◆ unformat_policer_classify_next_index()
◆ unformat_policer_classify_precolor()
◆ unformat_policer_eb()
◆ unformat_policer_eir()
◆ unformat_policer_rate_type()
◆ unformat_policer_round_type()
◆ unformat_policer_type()
◆ configure_policer_command
Initial value:= {
.path = "configure policer",
.short_help = "configure policer name <name> <params> ",
}
static clib_error_t * configure_policer_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (configure_policer_command)
Definition at line 468 of file policer.c.
◆ show_policer_command
Initial value:= {
.path = "show policer",
.short_help = "show policer [name]",
}
static clib_error_t * show_policer_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_policer_command)
Definition at line 511 of file policer.c.
◆ show_policer_pools_command
Initial value:= {
.path = "show policer pools",
.short_help = "show policer pools",
}
static clib_error_t * show_policer_pools_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
(constructor) VLIB_CLI_COMMAND (show_policer_pools_command)
Definition at line 532 of file policer.c.
◆ vnet_policer_main