summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/xtables.h.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index afade14b..afdac36a 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -51,6 +51,7 @@ struct in_addr;
* %XTTYPE_UINT*RC: colon-separated range of standard integers
* %XTTYPE_STRING: arbitrary string
* %XTTYPE_MARKMASK32: 32-bit mark with optional mask
+ * %XTTYPE_SYSLOGLEVEL: syslog level by name or number
*/
enum xt_option_type {
XTTYPE_NONE,
@@ -64,6 +65,7 @@ enum xt_option_type {
XTTYPE_UINT64RC,
XTTYPE_STRING,
XTTYPE_MARKMASK32,
+ XTTYPE_SYSLOGLEVEL,
};
/**
@@ -118,7 +120,7 @@ struct xt_option_call {
bool invert;
uint8_t nvals;
union {
- uint8_t u8, u8_range[2];
+ uint8_t u8, u8_range[2], syslog_level;
uint16_t u16, u16_range[2];
uint32_t u32, u32_range[2];
uint64_t u64, u64_range[2];