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

Go to the source code of this file.

Functions

int DetectEngineInspectCIP (ThreadVars *, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *, const Signature *, const SigMatchData *smd, Flow *, uint8_t, void *, void *, uint64_t)
 Do the content inspection & validation for a signature. More...
 
int DetectEngineInspectENIP (ThreadVars *, DetectEngineCtx *de_ctx, DetectEngineThreadCtx *, const Signature *, const SigMatchData *smd, Flow *, uint8_t, void *, void *, uint64_t)
 Do the content inspection & validation for a signature. More...
 
void DetectEngineInspectENIPRegisterTests (void)
 

Detailed Description

Function Documentation

◆ DetectEngineInspectCIP()

int DetectEngineInspectCIP ( ThreadVars tv,
DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchData smd,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

Do the content inspection & validation for a signature.

Parameters
de_ctxDetection engine context
det_ctxDetection engine thread context
sSignature to inspect ( and sm: SigMatch to inspect)
fFlow
flagsApp layer flags
alstateApp layer state
txvPointer to ENIP Transaction structure
Return values
0no match or 1 match

Definition at line 220 of file detect-engine-enip.c.

References SigMatchData_::ctx, SCEnter, SCLogDebug, and SCReturnInt.

◆ DetectEngineInspectENIP()

int DetectEngineInspectENIP ( ThreadVars tv,
DetectEngineCtx de_ctx,
DetectEngineThreadCtx det_ctx,
const Signature s,
const SigMatchData smd,
Flow f,
uint8_t  flags,
void *  alstate,
void *  txv,
uint64_t  tx_id 
)

Do the content inspection & validation for a signature.

Parameters
de_ctxDetection engine context
det_ctxDetection engine thread context
sSignature to inspect ( and sm: SigMatch to inspect)
fFlow
flagsApp layer flags
alstateApp layer state
txvPointer to ENIP Transaction structure
Return values
0no match or 1 match

Definition at line 260 of file detect-engine-enip.c.

References ENIPEncapHdr_::command, SigMatchData_::ctx, DetectEnipCommandData_::enipcommand, ENIPTransaction_::header, SCEnter, SCLogDebug, and SCReturnInt.

◆ DetectEngineInspectENIPRegisterTests()

void DetectEngineInspectENIPRegisterTests ( void  )

Definition at line 372 of file detect-engine-enip.c.

References UtRegisterTest().

Here is the call graph for this function: