Go to the documentation of this file.
25 #ifndef SURICATA_APP_LAYER_EVENTS_H
26 #define SURICATA_APP_LAYER_EVENTS_H
65 #ifndef SURICATA_BINDGEN_H
66 static inline int AppLayerDecoderEventsIsEventSet(
73 for (
int i = 0; i <
cnt; i++) {
74 if (devents->
events[i] == event)
int DetectEngineGetEventInfo(const char *event_name, uint8_t *event_id, AppLayerEventType *event_type)
@ APPLAYER_UNEXPECTED_PROTOCOL
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)
struct AppLayerDecoderEvents_ AppLayerDecoderEvents
Data structure to store app layer decoder events.
@ APP_LAYER_EVENT_TYPE_TRANSACTION
@ APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
int SCAppLayerGetEventIdByName(const char *event_name, SCEnumCharMap *table, uint8_t *event_id)
void SCAppLayerDecoderEventsSetEventRaw(AppLayerDecoderEvents **sevents, uint8_t event)
Set an app layer decoder event.
@ APP_LAYER_EVENT_TYPE_PACKET
int AppLayerGetPktEventInfo(const char *event_name, uint8_t *event_id)
void SCAppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events)
@ APPLAYER_WRONG_DIRECTION_FIRST_DATA