#include "bitop.h"
#include "mwm.h"
#include "acsmx.h"
#include "acsmx2.h"
#include "sfksearch.h"
#include "mpse.h"
Go to the source code of this file.
Typedefs | |
typedef _mpse_struct | MPSE |
Functions | |
void * | mpseNew (int method) |
void | mpseFree (void *pv) |
int | mpseAddPattern (void *pv, void *P, int m, unsigned noCase, unsigned offset, unsigned depth, void *ID, int IID) |
void | mpseLargeShifts (void *pv, int flag) |
int | mpsePrepPatterns (void *pv) |
void | mpseSetRuleMask (void *pv, BITOP *rm) |
int | mpsePrintDetail (void *pv) |
int | mpsePrintSummary () |
int | mpseSearch (void *pv, unsigned char *T, int n, int(*action)(void *id, int index, void *data), void *data) |
UINT64 | mpseGetPatByteCount () |
void | mpseResetByteCount () |
Variables | |
static UINT64 | s_bcnt = 0 |
|
|
|
Definition at line 137 of file mpse.c. References acsmAddPattern(), acsmAddPattern2(), KTrieAddPattern(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_KTBM, MPSE_LOWMEM, MPSE_MWM, mwmAddPatternEx(), and _mpse_struct::obj. Referenced by BuildMultiPatGroup(), BuildMultiPatGroupsUri(), and SearchAdd(). |
|
Definition at line 103 of file mpse.c. References acsmFree(), acsmFree2(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_AUTO, MPSE_KTBM, MPSE_LOWMEM, MPSE_MWM, mwmFree(), and _mpse_struct::obj. Referenced by SearchFree(). |
|
Definition at line 308 of file mpse.c. References s_bcnt. Referenced by CalculateBasePerfStats(). |
|
Definition at line 170 of file mpse.c. References _mpse_struct::method, MPSE_AUTO, MPSE_MWM, mwmLargeShifts(), and _mpse_struct::obj. Referenced by BuildMultiPatGroupsUri(). |
|
Definition at line 48 of file mpse.c. References ACF_BANDED, ACF_FULL, ACF_SPARSE, ACF_SPARSEBANDS, acsmNew(), acsmNew2(), acsmSelectFormat2(), KTrieNew(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_AUTO, MPSE_KTBM, MPSE_LOWMEM, MPSE_MWM, mwmNew(), NULL, _mpse_struct::obj, and s_bcnt. Referenced by BuildMultiPatGroup(), BuildMultiPatGroupsUri(), and SearchInit(). |
|
Definition at line 187 of file mpse.c. References acsmCompile(), acsmCompile2(), KTrieCompile(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_AUTO, MPSE_KTBM, MPSE_LOWMEM, MPSE_MWM, mwmPrepPatterns(), and _mpse_struct::obj. Referenced by BuildMultiPatGroup(), BuildMultiPatGroupsUri(), and SearchPrepPatterns(). |
|
Definition at line 235 of file mpse.c. References acsmPrintDetailInfo(), acsmPrintDetailInfo2(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_AUTO, MPSE_LOWMEM, MPSE_MWM, and _mpse_struct::obj. |
|
Definition at line 267 of file mpse.c. References acsmPrintSummaryInfo(), and acsmPrintSummaryInfo2(). Referenced by SnortMain(). |
|
Definition at line 313 of file mpse.c. References s_bcnt. Referenced by CalculateBasePerfStats(). |
|
Definition at line 274 of file mpse.c. References acsmSearch(), acsmSearch2(), KTrieSearch(), _mpse_struct::method, MPSE_AC, MPSE_ACB, MPSE_ACF, MPSE_ACS, MPSE_ACSB, MPSE_AUTO, MPSE_LOWMEM, MPSE_MWM, mwmSearch(), _mpse_struct::obj, and s_bcnt. Referenced by fpEvalHeaderSW(), and SearchFindString(). |
|
Definition at line 217 of file mpse.c. References _mpse_struct::method, MPSE_AUTO, MPSE_MWM, mwmSetRuleMask(), and _mpse_struct::obj. Referenced by fpEvalHeaderSW(). |
|
Definition at line 39 of file mpse.c. Referenced by mpseGetPatByteCount(), mpseNew(), mpseResetByteCount(), and mpseSearch(). |