You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef __DETECT_MPM_H__
|
|
|
|
#define __DETECT_MPM_H__
|
|
|
|
|
|
|
|
/* XXX remove once */
|
|
|
|
MpmCtx mpm_ctx[1];
|
|
|
|
|
|
|
|
uint32_t PacketPatternScan(ThreadVars *, PatternMatcherThread *, Packet *);
|
|
|
|
uint32_t PacketPatternMatch(ThreadVars *, PatternMatcherThread *, Packet *);
|
|
|
|
|
|
|
|
void PacketPatternCleanup(ThreadVars *, PatternMatcherThread *);
|
|
|
|
void PatternMatchPrepare(MpmCtx *);
|
|
|
|
int PatternMatchPrepareGroup(DetectEngineCtx *, SigGroupHead *);
|
|
|
|
void PatternMatcherThreadInfo(ThreadVars *, PatternMatcherThread *);
|
|
|
|
void PatternMatchDestroy(MpmCtx *);
|
|
|
|
void PatternMatchDestroyGroup(SigGroupHead *);
|
|
|
|
|
|
|
|
int PatternMatcherThreadInit(ThreadVars *, void *, void **);
|
|
|
|
int PatternMatcherThreadDeinit(ThreadVars *, void *);
|
|
|
|
|
|
|
|
void SigGroupHeadSetMpmMaxlen(DetectEngineCtx *, SigGroupHead *);
|
|
|
|
|
|
|
|
void DbgPrintScanSearchStats();
|
|
|
|
|
|
|
|
#endif /* __DETECT_MPM_H__ */
|
|
|
|
|