datasets: comment to specify usage of field

pull/13432/head
Eric Leblond 2 months ago committed by Victor Julien
parent be9e13c6b1
commit cd07db83dc

@ -33,7 +33,7 @@ typedef struct DetectDatasetData_ {
DatasetFormats format; DatasetFormats format;
DataJsonType json; DataJsonType json;
char json_key[SIG_JSON_CONTENT_KEY_LEN]; char json_key[SIG_JSON_CONTENT_KEY_LEN];
void *id; void *id; /* pointer to the triggering signature */
} DetectDatasetData; } DetectDatasetData;
int DetectDatasetBufferMatch(DetectEngineThreadCtx *det_ctx, int DetectDatasetBufferMatch(DetectEngineThreadCtx *det_ctx,

@ -1234,7 +1234,7 @@ typedef struct PostRuleMatchWorkQueue {
/** structure to store the json content with info on sig that triggered it */ /** structure to store the json content with info on sig that triggered it */
typedef struct SigJsonContent { typedef struct SigJsonContent {
void *id; void *id; /**< pointer to the sig that triggered this json content */
char json_content[SIG_JSON_CONTENT_ITEM_LEN]; char json_content[SIG_JSON_CONTENT_ITEM_LEN];
} SigJsonContent; } SigJsonContent;

Loading…
Cancel
Save