suricata
detect-mqtt-connack-sessionpresent.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-mqtt-connack-sessionpresent.h"
#include "util-unittest.h"
#include "rust.h"
Include dependency graph for detect-mqtt-connack-sessionpresent.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^true|false|yes|no$"
 

Functions

void MQTTConnackSessionPresentRegisterTests (void)
 this function registers unit tests for MQTTConnackSessionPresent More...
 
void DetectMQTTConnackSessionPresentFree (DetectEngineCtx *de_ctx, void *)
 
void DetectMQTTConnackSessionPresentRegister (void)
 Registration function for mqtt.connack.session_present: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^true|false|yes|no$"

Definition at line 36 of file detect-mqtt-connack-sessionpresent.c.

Function Documentation

◆ DetectMQTTConnackSessionPresentFree()

void DetectMQTTConnackSessionPresentFree ( DetectEngineCtx de_ctx,
void *  de_ptr 
)

Definition at line 205 of file detect-mqtt-connack-sessionpresent.c.

References SCFree.

◆ DetectMQTTConnackSessionPresentRegister()

void DetectMQTTConnackSessionPresentRegister ( void  )

Registration function for mqtt.connack.session_present: keyword.

Definition at line 55 of file detect-mqtt-connack-sessionpresent.c.

References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_AL_MQTT_CONNACK_SESSION_PRESENT, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ MQTTConnackSessionPresentRegisterTests()

void MQTTConnackSessionPresentRegisterTests ( void  )

this function registers unit tests for MQTTConnackSessionPresent

Definition at line 305 of file detect-mqtt-connack-sessionpresent.c.

References UtRegisterTest().

Here is the call graph for this function: