/**
* \brief The app layer protocol detection thread context.
*/
-typedef struct AppLayerProtoDetectThreadCtx_ {
+struct AppLayerProtoDetectThreadCtx_ {
PatternMatcherQueue pmq;
/* The value 2 is for direction(0 - toserver, 1 - toclient). */
MpmThreadCtx mpm_tctx[FLOW_PROTO_DEFAULT][2];
-} AppLayerProtoDetectThreadCtx;
+};
/* The global app layer proto detection context. */
AppLayerProtoDetectCtx alpd_ctx;
#include "runmodes.h"
-typedef struct AppLayerParserThreadCtx_ {
+struct AppLayerParserThreadCtx_ {
void *alproto_local_storage[FLOW_PROTO_MAX][ALPROTO_MAX];
-} AppLayerParserThreadCtx;
+};
/**
AppLayerParserProtoCtx ctxs[FLOW_PROTO_MAX][ALPROTO_MAX];
} AppLayerParserCtx;
-typedef struct AppLayerParserState_ {
+struct AppLayerParserState_ {
uint8_t flags;
/* Indicates the current transaction that is being inspected.
/* Used to store decoder events. */
AppLayerDecoderEvents *decoder_events;
-} AppLayerParserState;
+};
/* Static global version of the parser context.
* Post 2.0 let's look at changing this to move it out to app-layer.c. */
* \brief This is for the app layer in general and it contains per thread
* context relevant to both the alpd and alp.
*/
-typedef struct AppLayerThreadCtx_ {
+struct AppLayerThreadCtx_ {
/* App layer protocol detection thread context, from AppLayerProtoDetectGetCtxThread(). */
AppLayerProtoDetectThreadCtx *alpd_tctx;
/* App layer parser thread context, from AppLayerParserThreadCtxAlloc(). */
uint64_t proto_detect_ticks_end;
uint64_t proto_detect_ticks_spent;
#endif
-} AppLayerThreadCtx;
+};
/***** L7 layer dispatchers *****/