flow: move flow_hash field to header

It won't get updated after initial set.
pull/14801/head
Victor Julien 9 months ago
parent 9864ae23aa
commit 20afd63cbd

@ -384,13 +384,14 @@ typedef struct Flow_
/** Thread ID for the stream/detect portion of this flow */ /** Thread ID for the stream/detect portion of this flow */
FlowThreadId thread_id[2]; FlowThreadId thread_id[2];
/** flow hash - the flow hash before hash table size mod. Used for calculating
* the flow_id. */
uint32_t flow_hash;
struct Flow_ *next; /* (hash) list next */ struct Flow_ *next; /* (hash) list next */
/** Incoming interface */ /** Incoming interface */
struct LiveDevice_ *livedev; struct LiveDevice_ *livedev;
/** flow hash - the flow hash before hash table size mod. */
uint32_t flow_hash;
/** timeout in seconds by policy, add to Flow::lastts to get actual time this times out. /** timeout in seconds by policy, add to Flow::lastts to get actual time this times out.
* Ignored in emergency mode. */ * Ignored in emergency mode. */
uint32_t timeout_policy; uint32_t timeout_policy;

Loading…
Cancel
Save