|
|
@ -32,10 +32,16 @@ int DetectHelperKeywordRegister(const SCSigTableElmt *kw);
|
|
|
|
int DetectHelperBufferRegister(const char *name, AppProto alproto, bool toclient, bool toserver);
|
|
|
|
int DetectHelperBufferRegister(const char *name, AppProto alproto, bool toclient, bool toserver);
|
|
|
|
|
|
|
|
|
|
|
|
typedef bool (*SimpleGetTxBuffer)(void *, uint8_t, const uint8_t **, uint32_t *);
|
|
|
|
typedef bool (*SimpleGetTxBuffer)(void *, uint8_t, const uint8_t **, uint32_t *);
|
|
|
|
|
|
|
|
typedef bool (*MultiGetTxBuffer)(void *, uint8_t, uint32_t, const uint8_t **, uint32_t *);
|
|
|
|
|
|
|
|
|
|
|
|
InspectionBuffer *DetectHelperGetData(struct DetectEngineThreadCtx_ *det_ctx,
|
|
|
|
InspectionBuffer *DetectHelperGetData(struct DetectEngineThreadCtx_ *det_ctx,
|
|
|
|
const DetectEngineTransforms *transforms, Flow *f, const uint8_t flow_flags, void *txv,
|
|
|
|
const DetectEngineTransforms *transforms, Flow *f, const uint8_t flow_flags, void *txv,
|
|
|
|
const int list_id, SimpleGetTxBuffer GetBuf);
|
|
|
|
const int list_id, SimpleGetTxBuffer GetBuf);
|
|
|
|
int DetectHelperBufferMpmRegister(const char *name, const char *desc, AppProto alproto,
|
|
|
|
int DetectHelperBufferMpmRegister(const char *name, const char *desc, AppProto alproto,
|
|
|
|
bool toclient, bool toserver, InspectionBufferGetDataPtr GetData);
|
|
|
|
bool toclient, bool toserver, InspectionBufferGetDataPtr GetData);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
InspectionBuffer *DetectHelperGetMultiData(struct DetectEngineThreadCtx_ *det_ctx,
|
|
|
|
|
|
|
|
const DetectEngineTransforms *transforms, Flow *f, const uint8_t flow_flags, void *txv,
|
|
|
|
|
|
|
|
const int list_id, uint32_t index, MultiGetTxBuffer GetBuf);
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* SURICATA_DETECT_ENGINE_HELPER_H */
|
|
|
|
#endif /* SURICATA_DETECT_ENGINE_HELPER_H */
|
|
|
|