@@ -146,6 +146,13 @@ typedef struct odp_ipsec_inbound_config_t {
*/
odp_proto_chksums_t chksums;
+ /** Drop TFC dummy packets (NH=59) instead of reporting it via
+ * @tfc_dummy_packet error bit.
+ *
+ * @see tfc_dummy_packets_drop
+ */
+ odp_bool_t tfc_dummy_packets_drop;
+
} odp_ipsec_inbound_config_t;
/**
@@ -242,6 +249,11 @@ typedef struct odp_ipsec_capability_t {
* packets */
odp_bool_t tfc_padding_truncate;
+ /**
+ * Support dropping TFC dummy packets
+ */
+ odp_support_t tfc_dummy_packets_drop;
+
/** Maximum number of different destination CoSes in classification
* pipelining. The same CoS may be used for many SAs. This is equal or
* less than 'max_cos' capability in classifier API.
@@ -902,6 +914,9 @@ typedef struct odp_ipsec_error_t {
/** Hard lifetime expired: packets */
uint32_t hard_exp_packets : 1;
+
+ /** TFC dummy packet (NextHeader = 59) */
+ uint32_t tfc_dummy_packet : 1;
};
/** All error bits