typedef struct FlowBit_ {
uint8_t type; /* type, DETECT_FLOWBITS in this case */
+ uint8_t pad[3];
uint32_t idx; /* name idx */
GenericVar *next; /* right now just implement this as a list,
* in the long run we have think of something
/** Generic Flowvar Structure */
typedef struct FlowVar_ {
uint8_t type; /* type, DETECT_FLOWVAR in this case */
+ uint8_t datatype;
+ uint16_t keylen;
uint32_t idx; /* name idx */
GenericVar *next; /* right now just implement this as a list,
* in the long run we have think of something
* faster. */
- uint8_t datatype;
union {
FlowVarTypeStr fv_str;
FlowVarTypeInt fv_int;
} data;
uint8_t *key;
- uint16_t keylen;
} FlowVar;
/** Flowvar Interface API */
typedef struct GenericVar_ {
uint8_t type;
+ uint8_t pad[3];
uint32_t idx;
struct GenericVar_ *next;
} GenericVar;
typedef struct XBit_ {
uint8_t type; /* type, DETECT_XBITS in this case */
+ uint8_t pad[3];
uint32_t idx; /* name idx */
GenericVar *next;
uint32_t expire;