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

Go to the source code of this file.

Data Structures

struct  DetectRfbSecresultData_
 
struct  DetectRfbSecresult_
 

Macros

#define PARSE_REGEX   "\\S[A-z]"
 

Typedefs

typedef struct DetectRfbSecresultData_ DetectRfbSecresultData
 

Enumerations

enum  { RFB_SECRESULT_OK = 0, RFB_SECRESULT_FAIL, RFB_SECRESULT_TOOMANY, RFB_SECRESULT_UNKNOWN }
 

Functions

void DetectRfbSecresultFree (DetectEngineCtx *, void *)
 
void DetectRfbSecresultRegister (void)
 Registration function for rfb.secresult: keyword. More...
 

Variables

struct DetectRfbSecresult_ results []
 

Detailed Description

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "\\S[A-z]"

Definition at line 36 of file detect-rfb-secresult.c.

Typedef Documentation

◆ DetectRfbSecresultData

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
RFB_SECRESULT_OK 
RFB_SECRESULT_FAIL 
RFB_SECRESULT_TOOMANY 
RFB_SECRESULT_UNKNOWN 

Definition at line 76 of file detect-rfb-secresult.c.

Function Documentation

◆ DetectRfbSecresultFree()

void DetectRfbSecresultFree ( DetectEngineCtx de_ctx,
void *  de_ptr 
)

Definition at line 240 of file detect-rfb-secresult.c.

References de, and SCFree.

◆ DetectRfbSecresultRegister()

void DetectRfbSecresultRegister ( void  )

Registration function for rfb.secresult: keyword.

Definition at line 57 of file detect-rfb-secresult.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function:

Variable Documentation

◆ results

struct DetectRfbSecresult_ results[]
Initial value:
= {
{ "ok", RFB_SECRESULT_OK, },
{ "fail", RFB_SECRESULT_FAIL, },
{ "toomany", RFB_SECRESULT_TOOMANY, },
{ "unknown", RFB_SECRESULT_UNKNOWN, },
{ NULL, 0 },
}

Referenced by UTHCheckPacketMatchResults(), UTHGenericTest(), and UTHMatchPacketsWithResults().

RFB_SECRESULT_OK
@ RFB_SECRESULT_OK
Definition: detect-rfb-secresult.c:77
RFB_SECRESULT_TOOMANY
@ RFB_SECRESULT_TOOMANY
Definition: detect-rfb-secresult.c:79
RFB_SECRESULT_FAIL
@ RFB_SECRESULT_FAIL
Definition: detect-rfb-secresult.c:78
RFB_SECRESULT_UNKNOWN
@ RFB_SECRESULT_UNKNOWN
Definition: detect-rfb-secresult.c:80