suricata
AppLayerParser Struct Reference

#include <app-layer-register.h>

Collaboration diagram for AppLayerParser:

Data Fields

const char * name
 
const char * default_port
 
int ip_proto
 
ProbingParserFPtr ProbeTS
 
ProbingParserFPtr ProbeTC
 
uint16_t min_depth
 
uint16_t max_depth
 
void *(* StateAlloc )(void *, AppProto)
 
void(* StateFree )(void *)
 
AppLayerParserFPtr ParseTS
 
AppLayerParserFPtr ParseTC
 
uint64_t(* StateGetTxCnt )(void *alstate)
 
void *(* StateGetTx )(void *alstate, uint64_t tx_id)
 
void(* StateTransactionFree )(void *, uint64_t)
 
int(* StateGetProgressCompletionStatus )(uint8_t direction)
 
int(* StateGetProgress )(void *alstate, uint8_t direction)
 
DetectEngineState *(* GetTxDetectState )(void *tx)
 
int(* SetTxDetectState )(void *tx, DetectEngineState *)
 
AppLayerDecoderEvents *(* StateGetEvents )(void *)
 
int(* StateGetEventInfo )(const char *event_name, int *event_id, AppLayerEventType *event_type)
 
int(* StateGetEventInfoById )(int event_id, const char **event_name, AppLayerEventType *event_type)
 
void *(* LocalStorageAlloc )(void)
 
void(* LocalStorageFree )(void *)
 
FileContainer *(* StateGetFiles )(void *, uint8_t)
 
AppLayerGetTxIterTuple(* GetTxIterator )(const uint8_t ipproto, const AppProto alproto, void *alstate, uint64_t min_tx_id, uint64_t max_tx_id, AppLayerGetTxIterState *istate)
 
AppLayerTxData *(* GetTxData )(void *tx)
 
bool(* ApplyTxConfig )(void *state, void *tx, int mode, AppLayerTxConfig)
 
uint32_t flags
 
void(* Truncate )(void *state, uint8_t direction)
 

Detailed Description

Definition at line 27 of file app-layer-register.h.

Field Documentation

◆ ApplyTxConfig

bool(* AppLayerParser::ApplyTxConfig) (void *state, void *tx, int mode, AppLayerTxConfig)

Definition at line 70 of file app-layer-register.h.

◆ default_port

const char* AppLayerParser::default_port

Definition at line 29 of file app-layer-register.h.

◆ flags

uint32_t AppLayerParser::flags

Definition at line 72 of file app-layer-register.h.

◆ GetTxData

AppLayerTxData*(* AppLayerParser::GetTxData) (void *tx)

Definition at line 69 of file app-layer-register.h.

◆ GetTxDetectState

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

Definition at line 51 of file app-layer-register.h.

◆ GetTxIterator

AppLayerGetTxIterTuple(* AppLayerParser::GetTxIterator) (const uint8_t ipproto, const AppProto alproto, void *alstate, uint64_t min_tx_id, uint64_t max_tx_id, AppLayerGetTxIterState *istate)

Definition at line 65 of file app-layer-register.h.

◆ ip_proto

int AppLayerParser::ip_proto

Definition at line 30 of file app-layer-register.h.

◆ LocalStorageAlloc

void*(* AppLayerParser::LocalStorageAlloc) (void)

Definition at line 60 of file app-layer-register.h.

◆ LocalStorageFree

void(* AppLayerParser::LocalStorageFree) (void *)

Definition at line 61 of file app-layer-register.h.

◆ max_depth

uint16_t AppLayerParser::max_depth

Definition at line 36 of file app-layer-register.h.

◆ min_depth

uint16_t AppLayerParser::min_depth

Definition at line 35 of file app-layer-register.h.

◆ name

const char* AppLayerParser::name

◆ ParseTC

AppLayerParserFPtr AppLayerParser::ParseTC

Definition at line 42 of file app-layer-register.h.

◆ ParseTS

AppLayerParserFPtr AppLayerParser::ParseTS

Definition at line 41 of file app-layer-register.h.

◆ ProbeTC

ProbingParserFPtr AppLayerParser::ProbeTC

Definition at line 33 of file app-layer-register.h.

◆ ProbeTS

ProbingParserFPtr AppLayerParser::ProbeTS

Definition at line 32 of file app-layer-register.h.

◆ SetTxDetectState

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

Definition at line 52 of file app-layer-register.h.

◆ StateAlloc

void*(* AppLayerParser::StateAlloc) (void *, AppProto)

Definition at line 38 of file app-layer-register.h.

◆ StateFree

void(* AppLayerParser::StateFree) (void *)

Definition at line 39 of file app-layer-register.h.

◆ StateGetEventInfo

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

Definition at line 55 of file app-layer-register.h.

◆ StateGetEventInfoById

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

Definition at line 57 of file app-layer-register.h.

◆ StateGetEvents

AppLayerDecoderEvents*(* AppLayerParser::StateGetEvents) (void *)

Definition at line 54 of file app-layer-register.h.

◆ StateGetFiles

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

Definition at line 63 of file app-layer-register.h.

◆ StateGetProgress

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

Definition at line 49 of file app-layer-register.h.

◆ StateGetProgressCompletionStatus

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

Definition at line 48 of file app-layer-register.h.

◆ StateGetTx

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

Definition at line 45 of file app-layer-register.h.

◆ StateGetTxCnt

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

Definition at line 44 of file app-layer-register.h.

◆ StateTransactionFree

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

Definition at line 46 of file app-layer-register.h.

◆ Truncate

void(* AppLayerParser::Truncate) (void *state, uint8_t direction)

Definition at line 74 of file app-layer-register.h.


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