suricata
AppLayerParserProtoCtx_ Struct Reference

App layer protocol parser context. More...

Collaboration diagram for AppLayerParserProtoCtx_:

Data Fields

AppLayerParserFPtr Parser [2]
 
bool logger
 
uint32_t logger_bits
 
void *(* StateAlloc )(void)
 
void(* StateFree )(void *)
 
void(* StateTransactionFree )(void *, uint64_t)
 
void *(* LocalStorageAlloc )(void)
 
void(* LocalStorageFree )(void *)
 
void(* Truncate )(void *, uint8_t)
 
FileContainer *(* StateGetFiles )(void *, uint8_t)
 
AppLayerDecoderEvents *(* StateGetEvents )(void *, uint64_t)
 
int(* StateGetProgress )(void *alstate, uint8_t direction)
 
uint64_t(* StateGetTxCnt )(void *alstate)
 
void *(* StateGetTx )(void *alstate, uint64_t tx_id)
 
AppLayerGetTxIteratorFunc StateGetTxIterator
 
int(* StateGetProgressCompletionStatus )(uint8_t direction)
 
int(* StateGetEventInfo )(const char *event_name, int *event_id, AppLayerEventType *event_type)
 
LoggerId(* StateGetTxLogged )(void *alstate, void *tx)
 
void(* StateSetTxLogged )(void *alstate, void *tx, LoggerId logger)
 
DetectEngineState *(* GetTxDetectState )(void *tx)
 
int(* SetTxDetectState )(void *tx, DetectEngineState *)
 
uint64_t(* GetTxDetectFlags )(void *tx, uint8_t dir)
 
void(* SetTxDetectFlags )(void *tx, uint8_t dir, uint64_t)
 
uint32_t stream_depth
 
uint8_t first_data_dir
 
uint32_t option_flags
 
uint32_t internal_flags
 
void(* RegisterUnittests )(void)
 

Detailed Description

App layer protocol parser context.

Definition at line 91 of file app-layer-parser.c.

Field Documentation

uint8_t AppLayerParserProtoCtx_::first_data_dir
uint64_t(* AppLayerParserProtoCtx_::GetTxDetectFlags) (void *tx, uint8_t dir)
DetectEngineState*(* AppLayerParserProtoCtx_::GetTxDetectState) (void *tx)
uint32_t AppLayerParserProtoCtx_::internal_flags
void*(* AppLayerParserProtoCtx_::LocalStorageAlloc) (void)
void(* AppLayerParserProtoCtx_::LocalStorageFree) (void *)
bool AppLayerParserProtoCtx_::logger
uint32_t AppLayerParserProtoCtx_::logger_bits

registered loggers for this proto

Definition at line 96 of file app-layer-parser.c.

Referenced by AppLayerParserProtocolGetLoggerBits(), and AppLayerParserRegisterLoggerBits().

uint32_t AppLayerParserProtoCtx_::option_flags
AppLayerParserFPtr AppLayerParserProtoCtx_::Parser[2]

Definition at line 94 of file app-layer-parser.c.

Referenced by AppLayerParserParse(), and AppLayerParserStateCleanup().

void(* AppLayerParserProtoCtx_::RegisterUnittests) (void)

Definition at line 141 of file app-layer-parser.c.

Referenced by AppLayerParserRegisterUnittests().

void(* AppLayerParserProtoCtx_::SetTxDetectFlags) (void *tx, uint8_t dir, uint64_t)
int(* AppLayerParserProtoCtx_::SetTxDetectState) (void *tx, DetectEngineState *)
void*(* AppLayerParserProtoCtx_::StateAlloc) (void)
void(* AppLayerParserProtoCtx_::StateFree) (void *)
int(* AppLayerParserProtoCtx_::StateGetEventInfo) (const char *event_name, int *event_id, AppLayerEventType *event_type)

Definition at line 113 of file app-layer-parser.c.

Referenced by AppLayerParserGetEventInfo(), and AppLayerParserStateCleanup().

AppLayerDecoderEvents*(* AppLayerParserProtoCtx_::StateGetEvents) (void *, uint64_t)
FileContainer*(* AppLayerParserProtoCtx_::StateGetFiles) (void *, uint8_t)

Definition at line 105 of file app-layer-parser.c.

Referenced by AppLayerParserRegisterGetFilesFunc().

int(* AppLayerParserProtoCtx_::StateGetProgress) (void *alstate, uint8_t direction)

Definition at line 108 of file app-layer-parser.c.

Referenced by AppLayerParserStateCleanup().

int(* AppLayerParserProtoCtx_::StateGetProgressCompletionStatus) (uint8_t direction)

Definition at line 112 of file app-layer-parser.c.

Referenced by AppLayerParserIsTxAware(), and AppLayerParserStateCleanup().

void*(* AppLayerParserProtoCtx_::StateGetTx) (void *alstate, uint64_t tx_id)

Definition at line 110 of file app-layer-parser.c.

Referenced by AppLayerParserStateCleanup().

uint64_t(* AppLayerParserProtoCtx_::StateGetTxCnt) (void *alstate)

Definition at line 109 of file app-layer-parser.c.

Referenced by AppLayerParserStateCleanup().

AppLayerGetTxIteratorFunc AppLayerParserProtoCtx_::StateGetTxIterator
LoggerId(* AppLayerParserProtoCtx_::StateGetTxLogged) (void *alstate, void *tx)
void(* AppLayerParserProtoCtx_::StateSetTxLogged) (void *alstate, void *tx, LoggerId logger)
void(* AppLayerParserProtoCtx_::StateTransactionFree) (void *, uint64_t)
uint32_t AppLayerParserProtoCtx_::stream_depth
void(* AppLayerParserProtoCtx_::Truncate) (void *, uint8_t)

The documentation for this struct was generated from the following file: