suricata
detect-mqtt-connect-flags.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-connect-flags.h"
#include "util-unittest.h"
#include "rust.h"
Include dependency graph for detect-mqtt-connect-flags.c:

Go to the source code of this file.

Data Structures

struct  DetectMQTTConnectFlagsData_
 

Macros

#define PARSE_REGEX   "(?: *,?!?(?:username|password|will|will_retain|clean_session))+"
 

Typedefs

typedef struct DetectMQTTConnectFlagsData_ DetectMQTTConnectFlagsData
 

Functions

void MQTTConnectFlagsRegisterTests (void)
 this function registers unit tests for MQTTConnectFlags More...
 
void DetectMQTTConnectFlagsFree (DetectEngineCtx *de_ctx, void *)
 
void DetectMQTTConnectFlagsRegister (void)
 Registration function for mqtt.connect.flags: keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "(?: *,?!?(?:username|password|will|will_retain|clean_session))+"

Definition at line 36 of file detect-mqtt-connect-flags.c.

Typedef Documentation

◆ DetectMQTTConnectFlagsData

Function Documentation

◆ DetectMQTTConnectFlagsFree()

void DetectMQTTConnectFlagsFree ( DetectEngineCtx de_ctx,
void *  de_ptr 
)

Definition at line 259 of file detect-mqtt-connect-flags.c.

References SCFree.

◆ DetectMQTTConnectFlagsRegister()

void DetectMQTTConnectFlagsRegister ( void  )

Registration function for mqtt.connect.flags: keyword.

Definition at line 63 of file detect-mqtt-connect-flags.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ MQTTConnectFlagsRegisterTests()

void MQTTConnectFlagsRegisterTests ( void  )

this function registers unit tests for MQTTConnectFlags

Definition at line 391 of file detect-mqtt-connect-flags.c.

References UtRegisterTest().

Here is the call graph for this function: