@@ -167,6 +167,13 @@ typedef struct odp_ipsec_inbound_config_t {
*/
odp_proto_chksums_t chksums;
+ /** Drop dummy packets (NH=59) instead of reporting it via
+ * @dummy_packet error bit.
+ *
+ * @see dummy_packets_drop
+ */
+ odp_bool_t dummy_packets_drop;
+
} odp_ipsec_inbound_config_t;
/**
@@ -263,6 +270,11 @@ typedef struct odp_ipsec_capability_t {
* packets */
odp_bool tfc_padding_truncate;
+ /**
+ * Support dropping dummy packets
+ */
+ odp_support_t 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.
@@ -905,6 +917,9 @@ typedef struct odp_ipsec_error_t {
/** Hard lifetime expired: packets */
uint32_t hard_exp_packets : 1;
+
+ /** TFC dummy packet (NextHeader = 59) */
+ uint32_t dummy_packet : 1;
};
/** All error bits