aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/wireguard/wireguard.h
diff options
context:
space:
mode:
authorGabriel Oginski <gabrielx.oginski@intel.com>2021-11-17 10:27:00 +0000
committerGabriel Oginski <gabrielx.oginski@intel.com>2022-01-25 11:25:16 +0100
commit0fb3a93a03fa55b1aeb102aaa16064b5f1901568 (patch)
tree7b06f9f15afca6c30eb4144bd5982ab58f0c2a80 /src/plugins/wireguard/wireguard.h
parent65c070f9da9172c0f6b74427983f6c9923a8e9b5 (diff)
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 <gabrielx.oginski@intel.com> Change-Id: Ieba6ae0078f3ff140c05b517891afb57232b3b7d (cherry picked from commit 77e69ae2d172dce74f4da4cae52bb63e28daa3ae)
Diffstat (limited to 'src/plugins/wireguard/wireguard.h')
-rw-r--r--src/plugins/wireguard/wireguard.h1
1 files changed, 1 insertions, 0 deletions
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;
/**