kernel-interface: Not all kernel interfaces support SPIs on policies
authorTobias Brunner <tobias@strongswan.org>
Tue, 11 Jul 2017 08:58:15 +0000 (10:58 +0200)
committerTobias Brunner <tobias@strongswan.org>
Mon, 7 Aug 2017 08:44:05 +0000 (10:44 +0200)
src/libcharon/kernel/kernel_interface.h

index d601ebd..f4f55ad 100644 (file)
@@ -77,6 +77,8 @@ enum kernel_feature_t {
        KERNEL_REQUIRE_UDP_ENCAPSULATION = (1<<2),
        /** IPsec backend does not require a policy reinstall on SA updates */
        KERNEL_NO_POLICY_UPDATES = (1<<3),
+       /** IPsec backend supports installing SPIs on policies */
+       KERNEL_POLICY_SPI = (1<<4),
 };
 
 /**