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, 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) |
|
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 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) |
|
clib_error_t * | policer_init (vlib_main_t *vm) |
|
#define foreach_config_param |
Value:_(eb) \
_(cb) \
_(eir) \
_(cir) \
_(rate_type) \
_(round_type) \
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
Definition at line 267 of file policer.c.
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 313 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 354 of file policer.c.