Go to the documentation of this file.
25 #ifndef SURICATA_APP_LAYER_EVENTS_H
26 #define SURICATA_APP_LAYER_EVENTS_H
60 uint8_t event_id,
const char **event_name, AppLayerEventType *event_type);
63 static inline int AppLayerDecoderEventsIsEventSet(
70 for (
int i = 0; i <
cnt; i++) {
71 if (devents->
events[i] == event)
81 const char *event_name, uint8_t *event_id, AppLayerEventType *event_type);
int DetectEngineGetEventInfo(const char *event_name, uint8_t *event_id, AppLayerEventType *event_type)
@ APPLAYER_UNEXPECTED_PROTOCOL
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events)
uint8_t events_buffer_size
uint8_t event_last_logged
@ APPLAYER_PROTO_DETECTION_SKIPPED
Data structure to store app layer decoder events.
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events)
@ APPLAYER_NO_TLS_AFTER_STARTTLS
@ APPLAYER_MISMATCH_PROTOCOL_BOTH_DIRECTIONS
int AppLayerGetEventInfoById(uint8_t event_id, const char **event_name, AppLayerEventType *event_type)
void AppLayerDecoderEventsSetEventRaw(AppLayerDecoderEvents **sevents, uint8_t event)
Set an app layer decoder event.
@ APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
int SCAppLayerGetEventIdByName(const char *event_name, SCEnumCharMap *table, uint8_t *event_id)
int AppLayerGetPktEventInfo(const char *event_name, uint8_t *event_id)
@ APPLAYER_WRONG_DIRECTION_FIRST_DATA