24#ifndef SURICATA_APP_LAYER_REGISTER_H
25#define SURICATA_APP_LAYER_REGISTER_H
47 void *(*StateGetTx)(
void *alstate, uint64_t tx_id);
59 void *(*LocalStorageAlloc)(void);
65 const AppProto alproto,
void *alstate, uint64_t min_tx_id,
AppProto(* ProbingParserFPtr)(const Flow *f, uint8_t flags, const uint8_t *input, uint32_t input_len, uint8_t *rdir)
int(* AppLayerParserGetStateIdByNameFn)(const char *name, const uint8_t direction)
struct AppLayerGetFileState AppLayerGetFileState
struct AppLayerGetTxIterTuple AppLayerGetTxIterTuple
const char *(* AppLayerParserGetStateNameByIdFn)(const int id, const uint8_t direction)
AppLayerResult(* AppLayerParserFPtr)(Flow *f, void *protocol_state, AppLayerParserState *pstate, StreamSlice stream_slice, void *local_storage)
Prototype for parsing functions.
struct AppLayerTxData AppLayerTxData
const char *(* AppLayerParserGetFrameNameByIdFn)(const uint8_t id)
int(* AppLayerParserGetFrameIdByNameFn)(const char *frame_name)
struct AppLayerTxConfig AppLayerTxConfig
struct AppLayerStateData AppLayerStateData
enum AppLayerEventType AppLayerEventType
AppProto AppLayerRegisterProtocolDetection(const struct AppLayerParser *parser, int enable_default)
App layer protocol detection function.
int AppLayerRegisterParserAlias(const char *proto_name, const char *proto_alias)
int AppLayerRegisterParser(const struct AppLayerParser *p, AppProto alproto)
App layer protocol registration function.
ProbingParserFPtr ProbeTS
AppLayerParserGetStateNameByIdFn GetStateNameById
AppLayerParserFPtr ParseTS
bool(* ApplyTxConfig)(void *state, void *tx, int mode, AppLayerTxConfig)
void(* StateFree)(void *)
int(* StateGetProgress)(void *alstate, uint8_t direction)
int(* StateGetEventInfo)(const char *event_name, uint8_t *event_id, AppLayerEventType *event_type)
const char * default_port
AppLayerGetTxIterTuple(* GetTxIterator)(const uint8_t ipproto, const AppProto alproto, void *alstate, uint64_t min_tx_id, uint64_t max_tx_id, AppLayerGetTxIterState *istate)
AppLayerParserGetFrameIdByNameFn GetFrameIdByName
AppLayerParserGetFrameNameByIdFn GetFrameNameById
ProbingParserFPtr ProbeTC
int(* StateGetEventInfoById)(uint8_t event_id, const char **event_name, AppLayerEventType *event_type)
AppLayerParserFPtr ParseTC
AppLayerParserGetStateIdByNameFn GetStateIdByName
uint64_t(* StateGetTxCnt)(void *alstate)
void(* StateTransactionFree)(void *, uint64_t)
void(* LocalStorageFree)(void *)
AppLayerGetFileState(* GetTxFiles)(void *, uint8_t)