Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/selftest/
Dratelimiter.c16 [PACKETS_BURSTABLE + 1] = { true, MSEC_PER_SEC / PACKETS_PER_SECOND },
18 [PACKETS_BURSTABLE + 3] = { true, (MSEC_PER_SEC / PACKETS_PER_SECOND) * 2 },
25 unsigned int total_msecs = 2 * MSEC_PER_SEC / PACKETS_PER_SECOND / 3; in maximum_jiffies_at_index()
130 BUILD_BUG_ON(MSEC_PER_SEC % PACKETS_PER_SECOND != 0); in wg_ratelimiter_selftest()
/linux-6.6.21/drivers/net/wireguard/
Dratelimiter.c35 PACKETS_PER_SECOND = 20, enumerator
37 PACKET_COST = NSEC_PER_SEC / PACKETS_PER_SECOND,