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 *)
 
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(* StateGetEventInfoById )(int event_id, const char **event_name, AppLayerEventType *event_type)
 
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)
 
void(* SetStreamDepthFlag )(void *tx, uint8_t flags)
 
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 93 of file app-layer-parser.c.

Field Documentation

◆ first_data_dir

uint8_t AppLayerParserProtoCtx_::first_data_dir

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

◆ GetTxDetectFlags

uint64_t(* AppLayerParserProtoCtx_::GetTxDetectFlags) (void *tx, uint8_t dir)

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

◆ GetTxDetectState

DetectEngineState*(* AppLayerParserProtoCtx_::GetTxDetectState) (void *tx)

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

◆ internal_flags

uint32_t AppLayerParserProtoCtx_::internal_flags

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

◆ LocalStorageAlloc

void*(* AppLayerParserProtoCtx_::LocalStorageAlloc) (void)

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

◆ LocalStorageFree

void(* AppLayerParserProtoCtx_::LocalStorageFree) (void *)

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

◆ logger

bool AppLayerParserProtoCtx_::logger

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

◆ logger_bits

uint32_t AppLayerParserProtoCtx_::logger_bits

registered loggers for this proto

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

◆ option_flags

uint32_t AppLayerParserProtoCtx_::option_flags

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

◆ Parser

AppLayerParserFPtr AppLayerParserProtoCtx_::Parser[2]

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

◆ RegisterUnittests

void(* AppLayerParserProtoCtx_::RegisterUnittests) (void)

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

◆ SetStreamDepthFlag

void(* AppLayerParserProtoCtx_::SetStreamDepthFlag) (void *tx, uint8_t flags)

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

◆ SetTxDetectFlags

void(* AppLayerParserProtoCtx_::SetTxDetectFlags) (void *tx, uint8_t dir, uint64_t)

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

◆ SetTxDetectState

int(* AppLayerParserProtoCtx_::SetTxDetectState) (void *tx, DetectEngineState *)

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

◆ StateAlloc

void*(* AppLayerParserProtoCtx_::StateAlloc) (void)

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

◆ StateFree

void(* AppLayerParserProtoCtx_::StateFree) (void *)

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

◆ StateGetEventInfo

int(* AppLayerParserProtoCtx_::StateGetEventInfo) (const char *event_name, int *event_id, AppLayerEventType *event_type)

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

◆ StateGetEventInfoById

int(* AppLayerParserProtoCtx_::StateGetEventInfoById) (int event_id, const char **event_name, AppLayerEventType *event_type)

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

◆ StateGetEvents

AppLayerDecoderEvents*(* AppLayerParserProtoCtx_::StateGetEvents) (void *)

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

◆ StateGetFiles

FileContainer*(* AppLayerParserProtoCtx_::StateGetFiles) (void *, uint8_t)

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

◆ StateGetProgress

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

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

◆ StateGetProgressCompletionStatus

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

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

◆ StateGetTx

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

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

◆ StateGetTxCnt

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

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

◆ StateGetTxIterator

AppLayerGetTxIteratorFunc AppLayerParserProtoCtx_::StateGetTxIterator

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

◆ StateGetTxLogged

LoggerId(* AppLayerParserProtoCtx_::StateGetTxLogged) (void *alstate, void *tx)

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

◆ StateSetTxLogged

void(* AppLayerParserProtoCtx_::StateSetTxLogged) (void *alstate, void *tx, LoggerId logger)

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

◆ StateTransactionFree

void(* AppLayerParserProtoCtx_::StateTransactionFree) (void *, uint64_t)

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

◆ stream_depth

uint32_t AppLayerParserProtoCtx_::stream_depth

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

◆ Truncate

void(* AppLayerParserProtoCtx_::Truncate) (void *, uint8_t)

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


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