summaryrefslogtreecommitdiffstats
path: root/include/xtables.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-02-27 19:03:28 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-04-06 13:12:55 +0200
commitdfe99f1bf291b4b954d3608dbe95a43e16a8bb49 (patch)
tree9110ff4ec68214bcda0ae4bf4da5c8c5ad7b2f72 /include/xtables.h.in
parentb18ffe3636b07cd817628de81643136e4755a944 (diff)
libxtables: XTTYPE_UINT8 support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r--include/xtables.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index 14d7b043..dc074bc0 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -51,6 +51,7 @@ struct in_addr;
*/
enum xt_option_type {
XTTYPE_NONE,
+ XTTYPE_UINT8,
XTTYPE_UINT32,
};
@@ -104,6 +105,7 @@ struct xt_option_call {
unsigned int xflags;
bool invert;
union {
+ uint8_t u8;
uint32_t u32;
} val;
};