Go to the documentation of this file.
53 static int g_nfs_request_buffer_id = 0;
56 uint8_t,
void *,
void *,
const Signature *,
77 SCLogDebug(
"g_nfs_request_buffer_id %d", g_nfs_request_buffer_id);
106 SCLogDebug(
"version %u mode %u lo %u hi %u",
version, dd->mode, dd->arg1, dd->arg2);
121 static DetectU32Data *DetectNfsVersionParse(
const char *rawstr)
123 return rs_detect_u32_parse_inclusive(rawstr);
160 sm->
ctx = (
void *)dd;
162 SCLogDebug(
"low %u hi %u", dd->arg1, dd->arg2);
167 DetectNfsVersionFree(
de_ctx, dd);
179 rs_detect_u32_free(ptr);
int DetectSignatureSetAppProto(Signature *s, AppProto alproto)
int DetectU32Match(const uint32_t parg, const DetectUintData_u32 *du32)
void DetectNfsVersionRegister(void)
Registration function for nfs_procedure keyword.
void(* Free)(DetectEngineCtx *, void *)
main detection engine ctx
int(* AppLayerTxMatch)(DetectEngineThreadCtx *, Flow *, uint8_t flags, void *alstate, void *txv, const Signature *, const SigMatchCtx *)
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
SigMatch * SigMatchAlloc(void)
Used to start a pointer to SigMatch context Should never be dereferenced without casting to something...
SigTableElmt sigmatch_table[DETECT_TBLSIZE]
DetectUintData_u32 DetectU32Data
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.
#define SCLogError(...)
Macro used to log ERROR messages.
a single match condition for a signature
void SigMatchAppendSMToList(Signature *s, SigMatch *new, int list)
Append a SigMatch to the list type.