From 264292f6f0d0a3360a758b616b81253a97f0a396 Mon Sep 17 00:00:00 2001 From: Tharre Date: Sat, 26 May 2018 19:29:24 +0200 Subject: WIP2 --- src/device.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/device.h') diff --git a/src/device.h b/src/device.h index 2a0e2c7..fae3845 100644 --- a/src/device.h +++ b/src/device.h @@ -10,13 +10,14 @@ #include "allowedips.h" #include "hashtables.h" #include "cookie.h" +#include "mpmc_ring.h" #include #include #include #include #include -#include +//#include struct wireguard_device; @@ -26,7 +27,9 @@ struct multicore_worker { }; struct crypt_queue { - struct ptr_ring ring; + //struct ptr_ring ring; + struct ck_ring ring; + struct ck_ring_buffer ring_buffer; union { struct { struct multicore_worker __percpu *worker; -- cgit v1.2.3-59-g8ed1b