From afb5b006e4451a9dcb3270d4a5755413e65f5497 Mon Sep 17 00:00:00 2001 From: Szymon Sliwa Date: Fri, 26 Jan 2018 12:30:41 +0100 Subject: plugins: odp: Add support for async crypto mode By default ipsec picks asynchronuous crypto. After the operation it may turn out that the operation was performed synchronously anyways, in such case the packet is send further by the esp_* node because there will be no notification event sent about the crypto completion. To use asynchronous mode put async in the odp section of the startup.conf file, like this: odp { async } Falls back to synchronous mode. Change-Id: I5301df5f1c93a5ccd53a9c0ed2c4cacb9ca5fdd4 Signed-off-by: Szymon Sliwa --- src/plugins/odp/odp_packet.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/odp/odp_packet.c') diff --git a/src/plugins/odp/odp_packet.c b/src/plugins/odp/odp_packet.c index fb9ab192..43ad6772 100755 --- a/src/plugins/odp/odp_packet.c +++ b/src/plugins/odp/odp_packet.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include -- cgit 1.2.3-korg