From 77e69ae2d172dce74f4da4cae52bb63e28daa3ae Mon Sep 17 00:00:00 2001 From: Gabriel Oginski Date: Wed, 17 Nov 2021 10:27:00 +0000 Subject: wireguard: add async mode for decryption packets Originally wireguard doesn't support async mode for decryption packets. This patch add async mode for decryption in wireguard. In addition, it contains some performance improvement such as prefetching packet header and reducing the number of current time function calls. Type: improvement Signed-off-by: Gabriel Oginski Change-Id: Ieba6ae0078f3ff140c05b517891afb57232b3b7d --- src/plugins/wireguard/wireguard.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/wireguard/wireguard.h') diff --git a/src/plugins/wireguard/wireguard.h b/src/plugins/wireguard/wireguard.h index aaec3d47b23..965c34aca50 100644 --- a/src/plugins/wireguard/wireguard.h +++ b/src/plugins/wireguard/wireguard.h @@ -64,6 +64,7 @@ typedef struct } wg_async_post_next_t; extern wg_async_post_next_t wg_encrypt_async_next; +extern wg_async_post_next_t wg_decrypt_async_next; extern wg_main_t wg_main; /** -- cgit 1.2.3-korg