Home
last modified time | relevance | path

Searched refs:PACKETS_PER_SECOND (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/net/wireguard/selftest/
Dratelimiter.c17 [PACKETS_BURSTABLE + 1] = { true, NSEC_PER_SEC / PACKETS_PER_SECOND },
19 [PACKETS_BURSTABLE + 3] = { true, (NSEC_PER_SEC / PACKETS_PER_SECOND) * 2 },
26 u64 total_nsecs = 2 * NSEC_PER_SEC / PACKETS_PER_SECOND / 3; in maximum_jiffies_at_index()
135 BUILD_BUG_ON(NSEC_PER_SEC % PACKETS_PER_SECOND != 0); in wg_ratelimiter_selftest()
/linux-5.19.10/drivers/net/wireguard/
Dratelimiter.c35 PACKETS_PER_SECOND = 20, enumerator
37 PACKET_COST = NSEC_PER_SEC / PACKETS_PER_SECOND,