Searched refs:COUNTER_WINDOW_SIZE (Results 1 – 3 of 3) sorted by relevance
23 #define T_LIM (COUNTER_WINDOW_SIZE + 1) in wg_packet_counter_selftest()70 for (i = 1; i <= COUNTER_WINDOW_SIZE; ++i) in wg_packet_counter_selftest()76 for (i = 2; i <= COUNTER_WINDOW_SIZE + 1; ++i) in wg_packet_counter_selftest()82 for (i = COUNTER_WINDOW_SIZE + 1; i-- > 0;) in wg_packet_counter_selftest()86 for (i = COUNTER_WINDOW_SIZE + 2; i-- > 1;) in wg_packet_counter_selftest()91 for (i = COUNTER_WINDOW_SIZE + 1; i-- > 1;) in wg_packet_counter_selftest()93 T(COUNTER_WINDOW_SIZE + 1, true); in wg_packet_counter_selftest()97 for (i = COUNTER_WINDOW_SIZE + 1; i-- > 1;) in wg_packet_counter_selftest()100 T(COUNTER_WINDOW_SIZE + 1, true); in wg_packet_counter_selftest()
37 COUNTER_WINDOW_SIZE = COUNTER_BITS_TOTAL - COUNTER_REDUNDANT_BITS enumerator42 REJECT_AFTER_MESSAGES = U64_MAX - COUNTER_WINDOW_SIZE - 1,
308 if (unlikely((COUNTER_WINDOW_SIZE + their_counter) < in counter_validate()