Searched refs:REJECT_AFTER_MESSAGES (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireguard/selftest/ |
D | counter.c | 58 /* 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()
|
/drivers/net/wireguard/ |
D | messages.h | 42 REJECT_AFTER_MESSAGES = U64_MAX - COUNTER_WINDOW_SIZE - 1, enumerator
|
D | receive.c | 261 keypair->receiving_counter.counter >= REJECT_AFTER_MESSAGES)) { in decrypt_packet() 309 if (unlikely(counter->counter >= REJECT_AFTER_MESSAGES + 1 || in counter_validate() 310 their_counter >= REJECT_AFTER_MESSAGES)) in counter_validate()
|
D | send.c | 380 if (unlikely(PACKET_CB(skb)->nonce >= REJECT_AFTER_MESSAGES)) in wg_packet_send_staged_packets()
|