FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | policer_t |
Macros | |
#define | NUM_POLICE_RESULTS 3 |
#define | POLICER_TICKS_PER_PERIOD_SHIFT 17 |
#define | POLICER_TICKS_PER_PERIOD (1 << POLICER_TICKS_PER_PERIOD_SHIFT) |
Enumerations | |
enum | policer_result_e { POLICE_CONFORM = 0, POLICE_EXCEED = 1, POLICE_VIOLATE = 2 } |
Functions | |
STATIC_ASSERT_SIZEOF (policer_t, CLIB_CACHE_LINE_BYTES) | |
static policer_result_e | vnet_police_packet (policer_t *policer, u32 packet_length, policer_result_e packet_color, u64 time) |
#define POLICER_TICKS_PER_PERIOD (1 << POLICER_TICKS_PER_PERIOD_SHIFT) |
enum policer_result_e |
STATIC_ASSERT_SIZEOF | ( | policer_t | , |
CLIB_CACHE_LINE_BYTES | |||
) |
|
inlinestatic |