Go to the source code of this file.
|
static_always_inline void | vnet_policer_mark (vlib_buffer_t *b, ip_dscp_t dscp) |
|
static_always_inline u8 | vnet_policer_police (vlib_main_t *vm, vlib_buffer_t *b, u32 policer_index, u64 time_in_policer_periods, policer_result_e packet_color, bool handoff) |
|
u8 * | format_policer_handoff_trace (u8 *s, va_list *args) |
|
static_always_inline uword | policer_handoff (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, u32 fq_index, u32 policer_index) |
|
◆ IP4_DSCP_SHIFT
◆ IP4_NON_DSCP_BITS
#define IP4_NON_DSCP_BITS 0x03 |
◆ IP6_DSCP_SHIFT
#define IP6_DSCP_SHIFT 22 |
◆ IP6_NON_DSCP_BITS
#define IP6_NON_DSCP_BITS 0xf03fffff |
◆ policer_handoff_trace_t
◆ policer_handoff_error_t
Enumerator |
---|
POLICER_HANDOFF_ERROR_CONGESTION_DROP | |
Definition at line 102 of file police_inlines.h.
◆ format_policer_handoff_trace()
u8* format_policer_handoff_trace |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
◆ policer_handoff()
◆ vnet_policer_mark()
◆ vnet_policer_police()