Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/selftest/
Dratelimiter.c51 if (wg_ratelimiter_allow(skb4, &init_net) != in timings_test()
60 if (!wg_ratelimiter_allow(skb4, &init_net)) in timings_test()
72 if (wg_ratelimiter_allow(skb6, &init_net) != in timings_test()
82 if (!wg_ratelimiter_allow(skb6, &init_net)) in timings_test()
111 if (wg_ratelimiter_allow(skb4, &init_net) != (i != max_entries)) in capacity_test()
/linux-6.6.21/drivers/net/wireguard/
Dratelimiter.h13 bool wg_ratelimiter_allow(struct sk_buff *skb, struct net *net);
Dratelimiter.c84 bool wg_ratelimiter_allow(struct sk_buff *skb, struct net *net) in wg_ratelimiter_allow() function
Dcookie.c147 if (!wg_ratelimiter_allow(skb, dev_net(checker->device->dev))) in wg_cookie_validate_packet()