]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ipsec-types: Add new mode for IP-TFS
authorTobias Brunner <tobias@strongswan.org>
Wed, 14 May 2025 08:11:12 +0000 (10:11 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2025 14:37:27 +0000 (16:37 +0200)
Added at the end as the numeric mode is e.g. used in SQL databases.

src/libstrongswan/ipsec/ipsec_types.c
src/libstrongswan/ipsec/ipsec_types.h

index 7d93f275a4ef87aa8a0307ae8cd9227a9bd9f13c..d84c97b395b816f5bb21d1ebcecb28be3287cb45 100644 (file)
 
 #include "ipsec_types.h"
 
-ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_DROP,
+ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_IPTFS,
        "TRANSPORT",
        "TUNNEL",
        "BEET",
        "PASS",
-       "DROP"
+       "DROP",
+       "IPTFS",
 );
 
 ENUM(policy_dir_names, POLICY_IN, POLICY_FWD,
index 4da3e8727c500ac3c84bc2186bde43d8c66b8ab5..936e4f86eeeefe9e268cd6b8d044f1df068499c8 100644 (file)
@@ -51,7 +51,9 @@ enum ipsec_mode_t {
        /** passthrough policy for traffic without an IPsec SA */
        MODE_PASS,
        /** drop policy discarding traffic */
-       MODE_DROP
+       MODE_DROP,
+       /** IP-TFS mode, tunnel mode with aggregation/fragmentation */
+       MODE_IPTFS,
 };
 
 /**