suricata
detect-ipproto.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "decode.h"
#include "detect.h"
#include "detect-ipproto.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-siggroup.h"
#include "detect-engine-address.h"
#include "util-byte.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-debug.h"
Include dependency graph for detect-ipproto.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^([!<>]?)\\s*([^\\s]+)$"
 Regex for parsing our options. More...
 

Functions

void DetectIPProtoRegister (void)
 Registration function for ip_proto keyword. More...
 
void DetectIPProtoRemoveAllSMs (DetectEngineCtx *de_ctx, Signature *s)
 

Detailed Description

Author
Brian Rectanus brect.nosp@m.anu@.nosp@m.gmail.nosp@m..com

Implements the ip_proto keyword

Definition in file detect-ipproto.c.

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^([!<>]?)\\s*([^\\s]+)$"

Regex for parsing our options.

Definition at line 50 of file detect-ipproto.c.

Function Documentation

◆ DetectIPProtoRegister()

void DetectIPProtoRegister ( void  )

Registration function for ip_proto keyword.

Definition at line 57 of file detect-ipproto.c.

References SigTableElmt_::desc, DETECT_IPPROTO, SigTableElmt_::Match, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectIPProtoRemoveAllSMs()

void DetectIPProtoRemoveAllSMs ( DetectEngineCtx de_ctx,
Signature s 
)