summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-03-06 14:57:44 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-04-13 18:09:25 +0200
commitd25e217578492d17f7752bf77cfab5f2c2509795 (patch)
tree2cee3ddddfb58a4328cc417b29fb222a63a3990d /include
parent4f7f187ffe1773487071b413491f062d141309dd (diff)
libxtables: XTTYPE_MARKMASK32 support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include')
-rw-r--r--include/xtables.h.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index c3c8da9c..2fa59771 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -50,6 +50,7 @@ struct in_addr;
* %XTTYPE_UINT*: standard integer
* %XTTYPE_UINT*RC: colon-separated range of standard integers
* %XTTYPE_STRING: arbitrary string
+ * %XTTYPE_MARKMASK32: 32-bit mark with optional mask
*/
enum xt_option_type {
XTTYPE_NONE,
@@ -57,6 +58,7 @@ enum xt_option_type {
XTTYPE_UINT32,
XTTYPE_UINT32RC,
XTTYPE_STRING,
+ XTTYPE_MARKMASK32,
};
/**
@@ -113,6 +115,9 @@ struct xt_option_call {
union {
uint8_t u8;
uint32_t u32, u32_range[2];
+ struct {
+ uint32_t mark, mask;
+ };
} val;
};