Go to the documentation of this file.
27 static int g_buffer_id = 0;
51 if (rs_dhcp_tx_get_rebinding_time(txv, &res)) {
68 rs_detect_u64_free(ptr);
89 SCLogError(
"Parsing \'%s\' failed for %s", rawstr,
101 sm->
ctx = (
void *)dd;
107 DetectDHCPRebindingTimeFree(
de_ctx, dd);
119 "/rules/dhcp-keywords.html#dhcp-rebinding-time";
int DetectSignatureSetAppProto(Signature *s, AppProto alproto)
void SigMatchAppendSMToList(Signature *s, SigMatch *new, const int list)
Append a SigMatch to the list type.
void(* Free)(DetectEngineCtx *, void *)
main detection engine ctx
int(* AppLayerTxMatch)(DetectEngineThreadCtx *, Flow *, uint8_t flags, void *alstate, void *txv, const Signature *, const SigMatchCtx *)
#define SIG_FLAG_TOCLIENT
int(* Setup)(DetectEngineCtx *, Signature *, const char *)
int DetectBufferTypeGetByName(const char *name)
#define SIG_FLAG_TOSERVER
void DetectAppLayerInspectEngineRegister2(const char *name, AppProto alproto, uint32_t dir, int progress, InspectEngineFuncPtr2 Callback2, InspectionBufferGetDataPtr GetData)
register inspect engine at start up time
void DetectDHCPRebindingTimeRegister(void)
Registration function for dhcp.procedure keyword.
SigMatch * SigMatchAlloc(void)
Used to start a pointer to SigMatch context Should never be dereferenced without casting to something...
SigTableElmt sigmatch_table[DETECT_TBLSIZE]
uint8_t DetectEngineInspectGenericList(DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const struct DetectEngineAppInspectionEngine_ *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
Do the content inspection & validation for a signature.
DetectUintData_u64 * DetectU64Parse(const char *u64str)
DetectUintData_u64 DetectU64Data
#define SCLogError(...)
Macro used to log ERROR messages.
a single match condition for a signature
int DetectU64Match(const uint64_t parg, const DetectUintData_u64 *du64)
@ DETECT_AL_DHCP_REBINDING_TIME