Home
last modified time | relevance | path

Searched refs:COUNTER_WINDOW_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/net/wireguard/selftest/
A Dcounter.c23 #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()
/linux-6.3-rc2/drivers/net/wireguard/
A Dmessages.h37 COUNTER_WINDOW_SIZE = COUNTER_BITS_TOTAL - COUNTER_REDUNDANT_BITS enumerator
42 REJECT_AFTER_MESSAGES = U64_MAX - COUNTER_WINDOW_SIZE - 1,
A Dreceive.c308 if (unlikely((COUNTER_WINDOW_SIZE + their_counter) < in counter_validate()

Completed in 6 milliseconds