Go to the source code of this file.
|
static u8 * | format_policer_trace (u8 *s, va_list *args) |
|
static uword | vnet_policer_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (policer_input_node, static) |
|
static u8 * | format_policer_classify_trace (u8 *s, va_list *args) |
|
static uword | policer_classify_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, policer_classify_table_id_t tid) |
|
VLIB_NODE_FN() | ip4_policer_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip6_policer_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | l2_policer_classify_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
static clib_error_t * | policer_classify_init (vlib_main_t *vm) |
|
◆ foreach_policer_classify_error
#define foreach_policer_classify_error |
Value:_(MISS, "Policer classify misses") \
_(HIT, "Policer classify hits") \
_(CHAIN_HIT, "Policer classify hits after chain walk") \
_(
DROP,
"Policer classify action drop")
Definition at line 327 of file node_funcs.c.
◆ foreach_vnet_policer_error
#define foreach_vnet_policer_error |
Value:_(TRANSMIT, "Packets Transmitted") \
_(
DROP,
"Packets Dropped")
Definition at line 51 of file node_funcs.c.
◆ policer_classify_error_t
Enumerator |
---|
POLICER_CLASSIFY_N_ERROR | |
Definition at line 333 of file node_funcs.c.
◆ vnet_policer_error_t
Enumerator |
---|
VNET_POLICER_N_ERROR | |
Definition at line 55 of file node_funcs.c.
◆ format_policer_classify_trace()
static u8* format_policer_classify_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ format_policer_trace()
static u8* format_policer_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
static |
◆ ip4_policer_classify_node()
◆ ip6_policer_classify_node()
◆ l2_policer_classify_node()
◆ policer_classify_init()
◆ policer_classify_inline()
◆ VNET_FEATURE_INIT()
◆ vnet_policer_inline()
◆ frame
◆ ip4_policer_classify_node
Initial value:= {
.name = "ip4-policer-classify",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (ip4_policer_classify_node)
Definition at line 624 of file node_funcs.c.
◆ ip6_policer_classify_node
Initial value:= {
.name = "ip6-policer-classify",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (ip6_policer_classify_node)
Definition at line 646 of file node_funcs.c.
◆ l2_policer_classify_node
Initial value:= {
.name = "l2-policer-classify",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (l2_policer_classify_node)
Definition at line 667 of file node_funcs.c.
◆ node
◆ policer_classify_error_strings
char* policer_classify_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 341 of file node_funcs.c.
◆ policer_input_handoff_error_strings
char* policer_input_handoff_error_strings[] = { "congestion drop" } |
|
static |
◆ policer_input_handoff_node
Initial value:= {
.name = "policer-input-handoff",
.vector_size =
sizeof (
u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
(constructor) VLIB_REGISTER_NODE (policer_input_handoff_node)
Definition at line 290 of file node_funcs.c.
◆ policer_input_node
Initial value:= {
.name = "policer-input",
.vector_size =
sizeof (
u32),
.next_nodes = {
},
}
(constructor) VLIB_REGISTER_NODE (policer_input_node)
Definition at line 262 of file node_funcs.c.
◆ vm
◆ vnet_policer_error_strings
char* vnet_policer_error_strings[] |
|
static |
Initial value:= {
#define _(sym,string)
}
Definition at line 63 of file node_funcs.c.