suricata
|
Go to the source code of this file.
Data Structures | |
struct | DetectIPRepData_ |
Macros | |
#define | DETECT_IPREP_CMD_ANY 0 |
#define | DETECT_IPREP_CMD_BOTH 1 |
#define | DETECT_IPREP_CMD_SRC 2 |
#define | DETECT_IPREP_CMD_DST 3 |
#define | DETECT_IPREP_OP_LT 0 |
#define | DETECT_IPREP_OP_GT 1 |
#define | DETECT_IPREP_OP_EQ 2 |
Typedefs | |
typedef struct DetectIPRepData_ | DetectIPRepData |
Functions | |
void | DetectIPRepRegister (void) |
Definition in file detect-iprep.h.
#define DETECT_IPREP_CMD_ANY 0 |
Definition at line 27 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_CMD_BOTH 1 |
Definition at line 28 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_CMD_DST 3 |
Definition at line 30 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_CMD_SRC 2 |
Definition at line 29 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_OP_EQ 2 |
Definition at line 34 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_OP_GT 1 |
Definition at line 33 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
#define DETECT_IPREP_OP_LT 0 |
Definition at line 32 of file detect-iprep.h.
Referenced by DetectIPRepRegister().
typedef struct DetectIPRepData_ DetectIPRepData |
void DetectIPRepRegister | ( | void | ) |
Definition at line 61 of file detect-iprep.c.
References DetectIPRepData_::cat, DetectIPRepData_::cmd, SigMatch_::ctx, DetectEngineThreadCtx_::de_ctx, DETECT_IPREP, DETECT_IPREP_CMD_ANY, DETECT_IPREP_CMD_BOTH, DETECT_IPREP_CMD_DST, DETECT_IPREP_CMD_SRC, DETECT_IPREP_OP_EQ, DETECT_IPREP_OP_GT, DETECT_IPREP_OP_LT, DETECT_SM_LIST_MATCH, DetectIPRepFree(), DetectSetupParseRegexes(), Packet_::dst, Packet_::flags, SigTableElmt_::flags, SigTableElmt_::Free, Packet_::host_dst, Packet_::host_src, HostLock(), HostLookupHostFromHash(), HostReference, HostRelease(), Host_::iprep, IPRepRegisterTests(), SigTableElmt_::Match, MAX_SUBSTRINGS, SigTableElmt_::name, DetectIPRepData_::op, PARSE_REGEX, PKT_HOST_DST_LOOKED_UP, PKT_HOST_SRC_LOOKED_UP, SigTableElmt_::RegisterTests, SReputation_::rep, res, SC_ERR_PCRE_GET_SUBSTRING, SC_ERR_PCRE_MATCH, SC_ERR_UNKNOWN_VALUE, SCFree, SCLogDebug, SCLogError, SCMalloc, SigTableElmt_::Setup, SIGMATCH_IPONLY_COMPAT, sigmatch_table, SigMatchAlloc(), SigMatchAppendSMToList(), Packet_::src, DetectEngineCtx_::srep_version, SRepCatGetByShortname(), DetectEngineCtx_::srepCIDR_ctx, SRepCIDRGetIPRepDst(), SRepCIDRGetIPRepSrc(), SigMatch_::type, unlikely, DetectIPRepData_::val, SReputation_::version, and version.
Referenced by SigTableSetup().