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) |
|
#define foreach_config_param |
Value:_(eb) \
_(cb) \
_(eir) \
_(cir) \
_(rate_type) \
_(round_type) \
_(type) \
_(action)
Definition at line 409 of file policer.c.
static u8* format_dscp |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
static u8* format_policer_action_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
u8* format_policer_config |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
u8* format_policer_instance |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
static u8* format_policer_rate_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
static u8* format_policer_round_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
static u8* format_policer_type |
( |
u8 * |
s, |
|
|
va_list * |
va |
|
) |
| |
|
static |
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 466 of file policer.c.
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 509 of file policer.c.
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 530 of file policer.c.