Go to the documentation of this file.
34 #include "rust-bindings.h"
42 static int g_ike_exch_type_buffer_id = 0;
65 DetectEngineInspectIkeExchTypeGeneric, NULL);
68 DetectEngineInspectIkeExchTypeGeneric, NULL);
104 if (!rs_ike_state_get_exch_type(txv, &exch_type))
127 if (ike_exch_type == NULL)
143 DetectIkeExchTypeFree(
de_ctx, ike_exch_type);
int DetectSignatureSetAppProto(Signature *s, AppProto alproto)
void DetectIkeExchTypeRegister(void)
Registration function for ike.exchtype keyword.
void(* Free)(DetectEngineCtx *, void *)
int DetectEngineInspectGenericList(const DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const Signature *s, const SigMatchData *smd, Flow *f, const uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
Do the content inspection & validation for a signature.
main detection engine ctx
int(* AppLayerTxMatch)(DetectEngineThreadCtx *, Flow *, uint8_t flags, void *alstate, void *txv, const Signature *, const SigMatchCtx *)
int DetectU8Match(const uint8_t parg, const DetectU8Data *du8)
#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
int(* Match)(DetectEngineThreadCtx *, Packet *, const Signature *, const SigMatchCtx *)
SigMatch * SigMatchAlloc(void)
Used to start a pointer to SigMatch context Should never be dereferenced without casting to something...
@ DETECT_AL_IKE_EXCH_TYPE
SigTableElmt sigmatch_table[DETECT_TBLSIZE]
DetectU8Data * DetectU8Parse(const char *u8str)
This function is used to parse u8 options passed via some u8 keyword.
a single match condition for a signature
void DetectUintRegister(void)
void SigMatchAppendSMToList(Signature *s, SigMatch *new, int list)
Append a SigMatch to the list type.