#include "bitop.h"
Go to the source code of this file.
Defines | |
#define | UINT64 unsigned long long |
#define | MPSE_MWM 1 |
#define | MPSE_AC 2 |
#define | MPSE_KTBM 3 |
#define | MPSE_LOWMEM 4 |
#define | MPSE_AUTO 5 |
#define | MPSE_ACF 6 |
#define | MPSE_ACS 7 |
#define | MPSE_ACB 8 |
#define | MPSE_ACSB 9 |
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 | mpseSearch (void *pv, unsigned char *T, int n, int(*action)(void *id, int index, void *data), void *data) |
UINT64 | mpseGetPatByteCount () |
void | mpseResetByteCount () |
int | mpsePrintDetail (void *obj) |
int | mpsePrintSummary () |
|
Definition at line 64 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), mpseSearch(), and SearchInit(). |
|
Definition at line 70 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), and mpseSearch(). |
|
Definition at line 68 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), and mpseSearch(). |
|
Definition at line 69 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), and mpseSearch(). |
|
Definition at line 71 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), and mpseSearch(). |
|
Definition at line 67 of file mpse.h. Referenced by mpseFree(), mpseLargeShifts(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), mpseSearch(), and mpseSetRuleMask(). |
|
Definition at line 65 of file mpse.h. Referenced by mpseAddPattern(), mpseFree(), mpseNew(), and mpsePrepPatterns(). |
|
Definition at line 66 of file mpse.h. Referenced by fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), and mpseSearch(). |
|
Definition at line 63 of file mpse.h. Referenced by fpInitDetectionEngine(), fpSetDetectSearchMethod(), mpseAddPattern(), mpseFree(), mpseLargeShifts(), mpseNew(), mpsePrepPatterns(), mpsePrintDetail(), mpseSearch(), and mpseSetRuleMask(). |
|
|
|
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(). |