25 #define NUM_POLICE_RESULTS 3
33 } __clib_packed qos_action_type_en;
70 #define POLICER_TICKS_PER_PERIOD_SHIFT 17
71 #define POLICER_TICKS_PER_PERIOD (1 << POLICER_TICKS_PER_PERIOD_SHIFT)
110 u64 current_tokens, extended_tokens;
114 packet_length = packet_length << policer->
scale;
156 && (current_tokens >= packet_length))
163 && (extended_tokens >= packet_length))
198 || (extended_tokens < packet_length))
205 || (current_tokens < packet_length))
221 #endif // __POLICE_H__