]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
kernel-ipsec: Add flag to enable hardware offloading for an IPsec SA
authorTobias Brunner <tobias@strongswan.org>
Mon, 20 Jun 2016 12:59:38 +0000 (14:59 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 23 May 2017 14:51:03 +0000 (16:51 +0200)
src/libcharon/kernel/kernel_ipsec.h

index 0ad566068bf2c7da1ee6615db38be765c3ccd376..6fafeb7605fb3add4c7595c68abdea63c19432e4 100644 (file)
@@ -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 */