Go to the documentation of this file.
53 static int g_nfs_request_buffer_id = 0;
56 uint8_t,
void *,
void *,
const Signature *,
75 SCLogDebug(
"g_nfs_request_buffer_id %d", g_nfs_request_buffer_id);
103 rs_nfs_tx_get_version(txv, &
version);
104 SCLogDebug(
"version %u mode %u lo %u hi %u",
version, dd->mode, dd->arg1, dd->arg2);
119 static DetectU32Data *DetectNfsVersionParse(
const char *rawstr)
121 return rs_detect_u32_parse_inclusive(rawstr);
154 SCLogDebug(
"low %u hi %u", dd->arg1, dd->arg2);
156 g_nfs_request_buffer_id) == NULL) {
162 DetectNfsVersionFree(
de_ctx, dd);
174 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.
SigTableElmt * sigmatch_table
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)
Used to start a pointer to SigMatch context Should never be dereferenced without casting to something...
DetectUintData_u32 DetectU32Data
#define SCLogError(...)
Macro used to log ERROR messages.
SigMatch * SigMatchAppendSMToList(DetectEngineCtx *de_ctx, Signature *s, uint16_t type, SigMatchCtx *ctx, const int list)
Append a SigMatch to the list type.