suricata
|
#include "detect-xbits.h"
Go to the source code of this file.
Functions | |
int | DetectXbitMatchHost (Packet *p, const DetectXbitsData *xd) |
void | DetectHostbitsRegister (void) |
Definition in file detect-hostbits.h.
void DetectHostbitsRegister | ( | void | ) |
Definition at line 81 of file detect-hostbits.c.
References SigTableElmt_::desc, DETECT_HOSTBITS, DetectHostbitFree(), DetectSetupParseRegexes(), SigTableElmt_::flags, SigTableElmt_::Free, HostBitsRegisterTests(), SigTableElmt_::Match, SigTableElmt_::name, PARSE_REGEX, SigTableElmt_::RegisterTests, SigTableElmt_::Setup, SIGMATCH_IPONLY_COMPAT, 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, DETECT_XBITS_CMD_ISNOTSET, DETECT_XBITS_CMD_ISSET, DETECT_XBITS_CMD_SET, DETECT_XBITS_CMD_TOGGLE, DETECT_XBITS_CMD_UNSET, and SCLogError.