suricata
|
Go to the source code of this file.
Data Structures | |
struct | AppLayerDecoderEvents_ |
Data structure to store app layer decoder events. More... | |
Functions | |
int | AppLayerGetPktEventInfo (const char *event_name, int *event_id) |
int | AppLayerGetEventInfoById (int event_id, const char **event_name, AppLayerEventType *event_type) |
void | AppLayerDecoderEventsSetEventRaw (AppLayerDecoderEvents **sevents, uint8_t event) |
Set an app layer decoder event. More... | |
void | AppLayerDecoderEventsResetEvents (AppLayerDecoderEvents *events) |
void | AppLayerDecoderEventsFreeEvents (AppLayerDecoderEvents **events) |
int | DetectEngineGetEventInfo (const char *event_name, int *event_id, AppLayerEventType *event_type) |
Definition in file app-layer-events.h.
anonymous enum |
Definition at line 47 of file app-layer-events.h.
void AppLayerDecoderEventsFreeEvents | ( | AppLayerDecoderEvents ** | events | ) |
Definition at line 133 of file app-layer-events.c.
void AppLayerDecoderEventsResetEvents | ( | AppLayerDecoderEvents * | events | ) |
Definition at line 124 of file app-layer-events.c.
void AppLayerDecoderEventsSetEventRaw | ( | AppLayerDecoderEvents ** | sevents, |
uint8_t | event | ||
) |
Set an app layer decoder event.
sevents | Pointer to a AppLayerDecoderEvents pointer. If *sevents is NULL memory will be allocated. |
event | The event to be stored. |
Definition at line 91 of file app-layer-events.c.
References DECODER_EVENTS_BUFFER_STEPS, SCCalloc, and SCRealloc.
Referenced by DetectEngineSetEvent().
int AppLayerGetEventInfoById | ( | int | event_id, |
const char ** | event_name, | ||
AppLayerEventType * | event_type | ||
) |
Definition at line 51 of file app-layer-events.c.
References app_layer_event_pkt_table, SCLogError, and SCMapEnumValueToName().
int AppLayerGetPktEventInfo | ( | const char * | event_name, |
int * | event_id | ||
) |
Definition at line 68 of file app-layer-events.c.
References app_layer_event_pkt_table, SCLogError, and SCMapEnumNameToValue().
int DetectEngineGetEventInfo | ( | const char * | event_name, |
int * | event_id, | ||
AppLayerEventType * | event_type | ||
) |
Definition at line 164 of file app-layer-events.c.
References det_ctx_event_table, SCLogError, and SCMapEnumNameToValue().