suricata
detect-mqtt-protocol-version.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-engine-uint.h"
#include "detect-mqtt-protocol-version.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "rust.h"
Include dependency graph for detect-mqtt-protocol-version.c:

Go to the source code of this file.

Functions

void MQTTProtocolVersionRegisterTests (void)
 this function registers unit tests for MQTTProtocolVersion More...
 
void DetectMQTTProtocolVersionFree (DetectEngineCtx *de_ctx, void *)
 
void DetectMQTTProtocolVersionRegister (void)
 Registration function for mqtt.protocol_version: keyword. More...
 

Detailed Description

Function Documentation

◆ DetectMQTTProtocolVersionFree()

void DetectMQTTProtocolVersionFree ( DetectEngineCtx de_ctx,
void *  de_ptr 
)

Definition at line 156 of file detect-mqtt-protocol-version.c.

References SCFree.

◆ DetectMQTTProtocolVersionRegister()

void DetectMQTTProtocolVersionRegister ( void  )

Registration function for mqtt.protocol_version: keyword.

Definition at line 54 of file detect-mqtt-protocol-version.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ MQTTProtocolVersionRegisterTests()

void MQTTProtocolVersionRegisterTests ( void  )

this function registers unit tests for MQTTProtocolVersion

Definition at line 260 of file detect-mqtt-protocol-version.c.

References UtRegisterTest().

Here is the call graph for this function: