Adding livedev and vlan_idx on flow, making it possible to use it for
logging in_iface on flow-logs and fix in_iface on psuedopackets.
(f)->sp = 0; \
(f)->dp = 0; \
(f)->proto = 0; \
+ (f)->livedev = NULL; \
+ (f)->vlan_idx = 0; \
SC_ATOMIC_INIT((f)->flow_state); \
SC_ATOMIC_INIT((f)->use_cnt); \
(f)->tenant_id = 0; \
(f)->sp = 0; \
(f)->dp = 0; \
(f)->proto = 0; \
+ (f)->livedev = NULL; \
+ (f)->vlan_idx = 0; \
SC_ATOMIC_RESET((f)->flow_state); \
SC_ATOMIC_RESET((f)->use_cnt); \
(f)->tenant_id = 0; \
uint8_t proto;
uint8_t recursion_level;
uint16_t vlan_id[2];
+ uint8_t vlan_idx;
+
+ /** Incoming interface */
+ const struct LiveDevice_ *livedev;
/** flow hash - the flow hash before hash table size mod. */
uint32_t flow_hash;