From 41a4cea0f4109fb76762dca073c3c1217658ee06 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 15 Feb 2011 22:10:48 +0100 Subject: libxtables: XTTYPE_SYSLOGLEVEL support Signed-off-by: Jan Engelhardt --- include/xtables.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/xtables.h.in') 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]; -- cgit v1.2.3