cocci: add more flag checks

pull/3453/head
Victor Julien 7 years ago
parent 67c90954c0
commit 1df38c3b97

@ -131,8 +131,10 @@ typedef struct AppLayerParserProtoCtx_
/* Option flags such as supporting gaps or not. */
uint32_t option_flags;
/* coccinelle: AppLayerParserProtoCtx:option_flags:APP_LAYER_PARSER_OPT_ */
uint32_t internal_flags;
/* coccinelle: AppLayerParserProtoCtx:internal_flags:APP_LAYER_PARSER_INT_ */
#ifdef UNITTESTS
void (*RegisterUnittests)(void);

@ -488,8 +488,8 @@ typedef struct SignatureInitData_ {
/** \brief Signature container */
typedef struct Signature_ {
/* coccinelle: Signature:flags:SIG_FLAG */
uint32_t flags;
/* coccinelle: Signature:flags:SIG_FLAG_ */
AppProto alproto;

Loading…
Cancel
Save