summaryrefslogtreecommitdiffstats
path: root/include/xtables.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-02-16 01:22:25 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-04-06 12:54:23 +0200
commita93142d5f55db74ebd7d49be9bd88f7a499ded40 (patch)
treeac7f1917715b6e69b8700e6065e119ffbb4af550 /include/xtables.h.in
parent97265fb806dffc6fd87ee5e0f0963dfbe7a094f6 (diff)
libxtables: XTTYPE_UINT32 support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-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 c281fed7..91a6eaaa 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -47,9 +47,11 @@ struct in_addr;
/**
* %XTTYPE_NONE: option takes no argument
+ * %XTTYPE_UINT*: standard integer
*/
enum xt_option_type {
XTTYPE_NONE,
+ XTTYPE_UINT32,
};
/**
@@ -99,7 +101,7 @@ struct xt_option_call {
unsigned int xflags;
bool invert;
union {
- /* to be filled */
+ uint32_t u32;
} val;
};