Change layout to be more efficient, shrinks structure with 8 bytes.
struct AppLayerParserState_ {
uint8_t flags;
+ /* State version, incremented for each update. Can wrap around. */
+ uint16_t version;
/* Indicates the current transaction that is being inspected.
* We have a var per direction. */
uint64_t inspect_id[2];
* we don't need a var per direction since we don't log a transaction
* unless we have the entire transaction. */
uint64_t log_id;
- /* State version, incremented for each update. Can wrap around. */
- uint16_t version;
/* Used to store decoder events. */
AppLayerDecoderEvents *decoder_events;