diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/statement.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h index 480b7190..12336bc0 100644 --- a/include/statement.h +++ b/include/statement.h @@ -28,11 +28,21 @@ extern struct stmt *meta_stmt_alloc(const struct location *loc, enum nft_meta_keys key, struct expr *expr); +enum { + STMT_LOG_PREFIX = (1 << 0), + STMT_LOG_SNAPLEN = (1 << 1), + STMT_LOG_GROUP = (1 << 2), + STMT_LOG_QTHRESHOLD = (1 << 3), + STMT_LOG_LEVEL = (1 << 4), +}; + struct log_stmt { const char *prefix; unsigned int snaplen; uint16_t group; uint16_t qthreshold; + uint32_t level; + uint32_t flags; }; extern struct stmt *log_stmt_alloc(const struct location *loc); |