suricata
detect-http-uri.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int DetectHttpUriSetup (DetectEngineCtx *, Signature *, const char *)
 this function setups the http_uri modifier keyword used in the rule More...
 
void DetectHttpUriRegister (void)
 Registration function for keywords: http_uri and http.uri. More...
 

Detailed Description

Author
Gerardo Iglesias Galvan igles.nosp@m.iasg.nosp@m.@gmai.nosp@m.l.co.nosp@m.m

Definition in file detect-http-uri.h.

Function Documentation

◆ DetectHttpUriRegister()

void DetectHttpUriRegister ( void  )

Registration function for keywords: http_uri and http.uri.

Definition at line 89 of file detect-http-uri.c.

References SigTableElmt_::desc, DETECT_AL_HTTP_URI, DetectHttpUriSetup(), SigTableElmt_::name, SigTableElmt_::RegisterTests, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DetectHttpUriSetup()

int DetectHttpUriSetup ( DetectEngineCtx de_ctx,
Signature s,
const char *  str 
)

this function setups the http_uri modifier keyword used in the rule

Parameters
de_ctxPointer to the Detection Engine Context
sPointer to the Signature to which the current keyword belongs
strShould hold an empty string always
Return values
0On success
-1On failure

Definition at line 184 of file detect-http-uri.c.

References de_ctx, DETECT_AL_HTTP_URI, DetectEngineContentModifierBufferSetup(), and str.

Referenced by DetectHttpUriRegister().

Here is the call graph for this function:
Here is the caller graph for this function: