suricata
detect-http-method.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
#include "detect-content.h"
#include "detect-pcre.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-spm.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
#include "detect-http-method.h"
#include "stream-tcp.h"
#include "tests/detect-http-method.c"
Include dependency graph for detect-http-method.c:

Go to the source code of this file.

void DetectHttpMethodRegisterTests (void)
 this function registers unit tests for DetectHttpMethod More...
 
void DetectHttpMethodFree (void *)
 
void DetectHttpMethodRegister (void)
 Registration function for keyword: http_method. More...
 

Detailed Description

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

Implements the http_method keyword

Definition in file detect-http-method.c.

Function Documentation

◆ DetectHttpMethodFree()

void DetectHttpMethodFree ( void *  )

◆ DetectHttpMethodRegister()

void DetectHttpMethodRegister ( void  )

Registration function for keyword: http_method.

Definition at line 79 of file detect-http-method.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectHttpMethodRegisterTests()

void DetectHttpMethodRegisterTests ( void  )

this function registers unit tests for DetectHttpMethod

Definition at line 2155 of file detect-http-method.c.

References UtRegisterTest().

Here is the call graph for this function: