aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/kernel/kernel_ipsec.h
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-06-20 14:59:38 +0200
committerTobias Brunner <tobias@strongswan.org>2017-05-23 16:51:03 +0200
commit35a53d6491f6ba3e6d03a5b6681f37303bdc0bdb (patch)
tree5523e431858838332f95be7c28697e41c2329efa /src/libcharon/kernel/kernel_ipsec.h
parent5bfae68670f29209ba130396eeb440a6b4c23956 (diff)
downloadstrongswan-35a53d6491f6ba3e6d03a5b6681f37303bdc0bdb.tar.bz2
strongswan-35a53d6491f6ba3e6d03a5b6681f37303bdc0bdb.tar.xz
kernel-ipsec: Add flag to enable hardware offloading for an IPsec SA
Diffstat (limited to 'src/libcharon/kernel/kernel_ipsec.h')
-rw-r--r--src/libcharon/kernel/kernel_ipsec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcharon/kernel/kernel_ipsec.h b/src/libcharon/kernel/kernel_ipsec.h
index 0ad566068..6fafeb760 100644
--- a/src/libcharon/kernel/kernel_ipsec.h
+++ b/src/libcharon/kernel/kernel_ipsec.h
@@ -91,6 +91,8 @@ struct kernel_ipsec_add_sa_t {
uint16_t cpi;
/** TRUE to enable UDP encapsulation for NAT traversal */
bool encap;
+ /** TRUE to enable hardware offloading if available */
+ bool hw_offload;
/** TRUE to use Extended Sequence Numbers */
bool esn;
/** TRUE if initiator of the exchange creating the SA */