suricata
AppLayerParser Struct Reference

#include <app-layer-register.h>

Collaboration diagram for AppLayerParser:

Data Fields

const char * name
 
const char * default_port
 
uint8_t 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)
 
const int complete_ts
 
const int complete_tc
 
int(* StateGetProgress )(void *alstate, uint8_t direction)
 
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 *)
 
AppLayerGetFileState(* GetTxFiles )(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)
 
AppLayerStateData *(* GetStateData )(void *state)
 
AppLayerTxData *(* GetTxData )(void *tx)
 
bool(* ApplyTxConfig )(void *state, void *tx, int mode, AppLayerTxConfig)
 
uint32_t flags
 
AppLayerParserGetFrameIdByNameFn GetFrameIdByName
 
AppLayerParserGetFrameNameByIdFn GetFrameNameById
 

Detailed Description

Definition at line 29 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.

◆ complete_tc

const int AppLayerParser::complete_tc

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

◆ complete_ts

const int AppLayerParser::complete_ts

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

◆ default_port

const char* AppLayerParser::default_port

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

◆ flags

uint32_t AppLayerParser::flags

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

◆ GetFrameIdByName

AppLayerParserGetFrameIdByNameFn AppLayerParser::GetFrameIdByName

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

◆ GetFrameNameById

AppLayerParserGetFrameNameByIdFn AppLayerParser::GetFrameNameById

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

◆ GetStateData

AppLayerStateData*(* AppLayerParser::GetStateData) (void *state)

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

◆ GetTxData

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

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

◆ GetTxFiles

AppLayerGetFileState(* AppLayerParser::GetTxFiles) (void *, uint8_t)

Definition at line 62 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 64 of file app-layer-register.h.

◆ ip_proto

uint8_t AppLayerParser::ip_proto

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

◆ LocalStorageAlloc

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

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

◆ LocalStorageFree

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

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

◆ max_depth

uint16_t AppLayerParser::max_depth

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

◆ min_depth

uint16_t AppLayerParser::min_depth

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

◆ name

const char* AppLayerParser::name

◆ ParseTC

AppLayerParserFPtr AppLayerParser::ParseTC

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

◆ ParseTS

AppLayerParserFPtr AppLayerParser::ParseTS

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

◆ ProbeTC

ProbingParserFPtr AppLayerParser::ProbeTC

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

◆ ProbeTS

ProbingParserFPtr AppLayerParser::ProbeTS

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

◆ StateAlloc

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

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

◆ StateFree

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

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

◆ StateGetEventInfo

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

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

◆ StateGetEventInfoById

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

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

◆ StateGetProgress

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

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

◆ StateGetTx

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

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

◆ StateGetTxCnt

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

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

◆ StateTransactionFree

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

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


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