diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-03-06 17:09:19 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-04-13 18:09:26 +0200 |
commit | 8bf513ada0aae0e4b1ac5160113fc532c2f525d0 (patch) | |
tree | 45ac6456a9decd7055a494269e184473a25f7d40 /include | |
parent | ba77b9b142b55c856b0a2950eddece7ad7e6bfbc (diff) |
libxtables: XTTYPE_UINT8RC support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/xtables.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in index ae76bb6b..8f65b053 100644 --- a/include/xtables.h.in +++ b/include/xtables.h.in @@ -57,6 +57,7 @@ enum xt_option_type { XTTYPE_UINT8, XTTYPE_UINT32, XTTYPE_UINT64, + XTTYPE_UINT8RC, XTTYPE_UINT16RC, XTTYPE_UINT32RC, XTTYPE_STRING, @@ -115,7 +116,7 @@ struct xt_option_call { bool invert; uint8_t nvals; union { - uint8_t u8; + uint8_t u8, u8_range[2]; uint16_t u16_range[2]; uint32_t u32, u32_range[2]; uint64_t u64; |