suricata
|
#include "suricata-common.h"
#include "decode.h"
#include "action-globals.h"
#include "detect.h"
#include "threads.h"
#include "flow.h"
#include "flow-util.h"
#include "detect-hostbits.h"
#include "util-spm.h"
#include "detect-engine-sigorder.h"
#include "app-layer-parser.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "detect-engine-build.h"
#include "flow-bit.h"
#include "host-bit.h"
#include "util-var-name.h"
#include "util-unittest.h"
#include "util-debug.h"
Go to the source code of this file.
Macros | |
#define | PARSE_REGEX |
Functions | |
void | DetectHostbitFree (DetectEngineCtx *, void *) |
void | HostBitsRegisterTests (void) |
this function registers unit tests for HostBits More... | |
void | DetectHostbitsRegister (void) |
int | DetectXbitMatchHost (Packet *p, const DetectXbitsData *xd) |
Implements the hostbits keyword
Definition in file detect-hostbits.c.
#define PARSE_REGEX |
Definition at line 67 of file detect-hostbits.c.
void DetectHostbitFree | ( | DetectEngineCtx * | de_ctx, |
void * | ptr | ||
) |
Definition at line 446 of file detect-hostbits.c.
References DetectXbitsData_::idx, SCFree, VAR_TYPE_HOST_BIT, and VarNameStoreUnregister().
void DetectHostbitsRegister | ( | void | ) |
Definition at line 81 of file detect-hostbits.c.
References SigTableElmt_::desc, DETECT_HOSTBITS, SigTableElmt_::Match, SigTableElmt_::name, and sigmatch_table.
Referenced by SigTableSetup().
int DetectXbitMatchHost | ( | Packet * | p, |
const DetectXbitsData * | xd | ||
) |
Definition at line 248 of file detect-hostbits.c.
References DetectXbitsData_::cmd, and DETECT_XBITS_CMD_ISSET.
void HostBitsRegisterTests | ( | void | ) |
this function registers unit tests for HostBits
Definition at line 709 of file detect-hostbits.c.
References UtRegisterTest().