Go to the documentation of this file.
25 #ifndef __APP_LAYER_EVENTS_H__
26 #define __APP_LAYER_EVENTS_H__
74 int cnt = devents->
cnt;
75 for (i = 0; i < cnt; i++) {
76 if (devents->
events[i] == event)
@ APPLAYER_MISMATCH_PROTOCOL_BOTH_DIRECTIONS
void AppLayerDecoderEventsFreeEvents(AppLayerDecoderEvents **events)
@ APPLAYER_WRONG_DIRECTION_FIRST_DATA
enum AppLayerEventType_ AppLayerEventType
uint8_t events_buffer_size
uint8_t event_last_logged
Data structure to store app layer decoder events.
@ APP_LAYER_EVENT_TYPE_TRANSACTION
void AppLayerDecoderEventsResetEvents(AppLayerDecoderEvents *events)
@ APP_LAYER_EVENT_TYPE_PACKET
@ APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
@ APPLAYER_PROTO_DETECTION_SKIPPED
void AppLayerDecoderEventsSetEventRaw(AppLayerDecoderEvents **sevents, uint8_t event)
Set an app layer decoder event.
@ APPLAYER_NO_TLS_AFTER_STARTTLS
int AppLayerGetEventInfoById(int event_id, const char **event_name, AppLayerEventType *event_type)
int AppLayerGetPktEventInfo(const char *event_name, int *event_id)
@ APPLAYER_UNEXPECTED_PROTOCOL