ipsec-types: Add new mode for IP-TFS
Added at the end as the numeric mode is e.g. used in SQL databases.
This commit is contained in:
@@ -16,12 +16,13 @@
|
|||||||
|
|
||||||
#include "ipsec_types.h"
|
#include "ipsec_types.h"
|
||||||
|
|
||||||
ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_DROP,
|
ENUM(ipsec_mode_names, MODE_TRANSPORT, MODE_IPTFS,
|
||||||
"TRANSPORT",
|
"TRANSPORT",
|
||||||
"TUNNEL",
|
"TUNNEL",
|
||||||
"BEET",
|
"BEET",
|
||||||
"PASS",
|
"PASS",
|
||||||
"DROP"
|
"DROP",
|
||||||
|
"IPTFS",
|
||||||
);
|
);
|
||||||
|
|
||||||
ENUM(policy_dir_names, POLICY_IN, POLICY_FWD,
|
ENUM(policy_dir_names, POLICY_IN, POLICY_FWD,
|
||||||
|
|||||||
@@ -51,7 +51,9 @@ enum ipsec_mode_t {
|
|||||||
/** passthrough policy for traffic without an IPsec SA */
|
/** passthrough policy for traffic without an IPsec SA */
|
||||||
MODE_PASS,
|
MODE_PASS,
|
||||||
/** drop policy discarding traffic */
|
/** drop policy discarding traffic */
|
||||||
MODE_DROP
|
MODE_DROP,
|
||||||
|
/** IP-TFS mode, tunnel mode with aggregation/fragmentation */
|
||||||
|
MODE_IPTFS,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user