aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorThomas Gschwantner <tharre3@gmail.com>2018-06-10 21:45:16 +0200
committerThomas Gschwantner <tharre3@gmail.com>2018-06-11 23:27:49 +0200
commit887579f109f1e72fb83bd0f8bf6f447861736f9d (patch)
treeebd39e719656b944f837861f3abd559ac40b5fec /src/queueing.h
parentmpmc_ptr_ring: calculate mask once and store it (diff)
downloadwireguard-monolithic-historical-887579f109f1e72fb83bd0f8bf6f447861736f9d.tar.xz
wireguard-monolithic-historical-887579f109f1e72fb83bd0f8bf6f447861736f9d.zip
mpmc_ptr_ring: add selftest
Diffstat (limited to 'src/queueing.h')
-rw-r--r--src/queueing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queueing.h b/src/queueing.h
index 14d69df..cb21944 100644
--- a/src/queueing.h
+++ b/src/queueing.h
@@ -140,6 +140,7 @@ static inline void queue_enqueue_per_peer(struct crypt_queue *queue, struct sk_b
#ifdef DEBUG
bool packet_counter_selftest(void);
+bool mpmc_ring_selftest(void);
#endif
#endif /* _WG_QUEUEING_H */