FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | IP4_NON_DSCP_BITS 0x03 |
#define | IP4_DSCP_SHIFT 2 |
#define | IP6_NON_DSCP_BITS 0xf03fffff |
#define | IP6_DSCP_SHIFT 22 |
Functions | |
static_always_inline void | vnet_policer_mark (vlib_buffer_t *b, u8 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) |
#define IP4_DSCP_SHIFT 2 |
Definition at line 23 of file police_inlines.h.
#define IP4_NON_DSCP_BITS 0x03 |
Definition at line 22 of file police_inlines.h.
#define IP6_DSCP_SHIFT 22 |
Definition at line 25 of file police_inlines.h.
#define IP6_NON_DSCP_BITS 0xf03fffff |
Definition at line 24 of file police_inlines.h.
static_always_inline void vnet_policer_mark | ( | vlib_buffer_t * | b, |
u8 | dscp | ||
) |
Definition at line 28 of file police_inlines.h.
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 | ||
) |
Definition at line 59 of file police_inlines.h.