Home
last modified time | relevance | path

Searched refs:REJECT_AFTER_MESSAGES (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/wireguard/selftest/
Dcounter.c58 /* 25 */ T(REJECT_AFTER_MESSAGES, false); in wg_packet_counter_selftest()
59 /* 26 */ T(REJECT_AFTER_MESSAGES - 1, true); in wg_packet_counter_selftest()
60 /* 27 */ T(REJECT_AFTER_MESSAGES, false); in wg_packet_counter_selftest()
61 /* 28 */ T(REJECT_AFTER_MESSAGES - 1, false); in wg_packet_counter_selftest()
62 /* 29 */ T(REJECT_AFTER_MESSAGES - 2, true); in wg_packet_counter_selftest()
63 /* 30 */ T(REJECT_AFTER_MESSAGES + 1, false); in wg_packet_counter_selftest()
64 /* 31 */ T(REJECT_AFTER_MESSAGES + 2, false); in wg_packet_counter_selftest()
65 /* 32 */ T(REJECT_AFTER_MESSAGES - 2, false); in wg_packet_counter_selftest()
66 /* 33 */ T(REJECT_AFTER_MESSAGES - 3, true); in wg_packet_counter_selftest()
/linux-6.1.9/drivers/net/wireguard/
Dmessages.h42 REJECT_AFTER_MESSAGES = U64_MAX - COUNTER_WINDOW_SIZE - 1, enumerator
Dreceive.c254 keypair->receiving_counter.counter >= REJECT_AFTER_MESSAGES)) { in decrypt_packet()
302 if (unlikely(counter->counter >= REJECT_AFTER_MESSAGES + 1 || in counter_validate()
303 their_counter >= REJECT_AFTER_MESSAGES)) in counter_validate()
Dsend.c380 if (unlikely(PACKET_CB(skb)->nonce >= REJECT_AFTER_MESSAGES)) in wg_packet_send_staged_packets()