suricata
|
App layer protocol parser context. More...
Data Fields | |
AppLayerParserFPtr | Parser [2] |
bool | logger |
uint8_t | first_data_dir |
uint32_t | logger_bits |
void *(* | StateAlloc )(void *, AppProto) |
void(* | StateFree )(void *) |
void(* | StateTransactionFree )(void *, uint64_t) |
void *(* | LocalStorageAlloc )(void) |
void(* | LocalStorageFree )(void *) |
AppLayerGetFileState(* | GetTxFiles )(void *, uint8_t) |
int(* | StateGetProgress )(void *alstate, uint8_t direction) |
uint64_t(* | StateGetTxCnt )(void *alstate) |
void *(* | StateGetTx )(void *alstate, uint64_t tx_id) |
AppLayerGetTxIteratorFunc | StateGetTxIterator |
int | complete_ts |
int | complete_tc |
int(* | StateGetEventInfoById )(uint8_t event_id, const char **event_name, AppLayerEventType *event_type) |
int(* | StateGetEventInfo )(const char *event_name, uint8_t *event_id, AppLayerEventType *event_type) |
AppLayerStateData *(* | GetStateData )(void *state) |
AppLayerTxData *(* | GetTxData )(void *tx) |
bool(* | ApplyTxConfig )(void *state, void *tx, int mode, AppLayerTxConfig) |
void(* | SetStreamDepthFlag )(void *tx, uint8_t flags) |
AppLayerParserGetFrameIdByNameFn | GetFrameIdByName |
AppLayerParserGetFrameNameByIdFn | GetFrameNameById |
uint32_t | stream_depth |
uint32_t | option_flags |
uint32_t | internal_flags |
void(* | RegisterUnittests )(void) |
App layer protocol parser context.
Definition at line 66 of file app-layer-parser.c.
bool(* AppLayerParserProtoCtx_::ApplyTxConfig) (void *state, void *tx, int mode, AppLayerTxConfig) |
Definition at line 103 of file app-layer-parser.c.
int AppLayerParserProtoCtx_::complete_tc |
Definition at line 95 of file app-layer-parser.c.
int AppLayerParserProtoCtx_::complete_ts |
Definition at line 94 of file app-layer-parser.c.
uint8_t AppLayerParserProtoCtx_::first_data_dir |
Definition at line 76 of file app-layer-parser.c.
AppLayerParserGetFrameIdByNameFn AppLayerParserProtoCtx_::GetFrameIdByName |
Definition at line 107 of file app-layer-parser.c.
AppLayerParserGetFrameNameByIdFn AppLayerParserProtoCtx_::GetFrameNameById |
Definition at line 108 of file app-layer-parser.c.
AppLayerStateData*(* AppLayerParserProtoCtx_::GetStateData) (void *state) |
Definition at line 101 of file app-layer-parser.c.
AppLayerTxData*(* AppLayerParserProtoCtx_::GetTxData) (void *tx) |
Definition at line 102 of file app-layer-parser.c.
AppLayerGetFileState(* AppLayerParserProtoCtx_::GetTxFiles) (void *, uint8_t) |
get FileContainer reference from the TX. MUST return a non-NULL reference if the TX has or may have files in the requested direction at some point.
Definition at line 88 of file app-layer-parser.c.
uint32_t AppLayerParserProtoCtx_::internal_flags |
Definition at line 117 of file app-layer-parser.c.
void*(* AppLayerParserProtoCtx_::LocalStorageAlloc) (void) |
Definition at line 83 of file app-layer-parser.c.
void(* AppLayerParserProtoCtx_::LocalStorageFree) (void *) |
Definition at line 84 of file app-layer-parser.c.
bool AppLayerParserProtoCtx_::logger |
Definition at line 71 of file app-layer-parser.c.
uint32_t AppLayerParserProtoCtx_::logger_bits |
registered loggers for this proto
Definition at line 78 of file app-layer-parser.c.
uint32_t AppLayerParserProtoCtx_::option_flags |
Definition at line 114 of file app-layer-parser.c.
AppLayerParserFPtr AppLayerParserProtoCtx_::Parser[2] |
Definition at line 69 of file app-layer-parser.c.
void(* AppLayerParserProtoCtx_::RegisterUnittests) (void) |
Definition at line 121 of file app-layer-parser.c.
void(* AppLayerParserProtoCtx_::SetStreamDepthFlag) (void *tx, uint8_t flags) |
Definition at line 105 of file app-layer-parser.c.
void*(* AppLayerParserProtoCtx_::StateAlloc) (void *, AppProto) |
Definition at line 80 of file app-layer-parser.c.
void(* AppLayerParserProtoCtx_::StateFree) (void *) |
Definition at line 81 of file app-layer-parser.c.
int(* AppLayerParserProtoCtx_::StateGetEventInfo) (const char *event_name, uint8_t *event_id, AppLayerEventType *event_type) |
Definition at line 98 of file app-layer-parser.c.
int(* AppLayerParserProtoCtx_::StateGetEventInfoById) (uint8_t event_id, const char **event_name, AppLayerEventType *event_type) |
Definition at line 96 of file app-layer-parser.c.
int(* AppLayerParserProtoCtx_::StateGetProgress) (void *alstate, uint8_t direction) |
Definition at line 90 of file app-layer-parser.c.
void*(* AppLayerParserProtoCtx_::StateGetTx) (void *alstate, uint64_t tx_id) |
Definition at line 92 of file app-layer-parser.c.
uint64_t(* AppLayerParserProtoCtx_::StateGetTxCnt) (void *alstate) |
Definition at line 91 of file app-layer-parser.c.
AppLayerGetTxIteratorFunc AppLayerParserProtoCtx_::StateGetTxIterator |
Definition at line 93 of file app-layer-parser.c.
void(* AppLayerParserProtoCtx_::StateTransactionFree) (void *, uint64_t) |
Definition at line 82 of file app-layer-parser.c.
uint32_t AppLayerParserProtoCtx_::stream_depth |
Definition at line 111 of file app-layer-parser.c.