summaryrefslogtreecommitdiffstats
path: root/include/xtables.h.in
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2011-02-27 17:38:34 +0100
committerJan Engelhardt <jengelh@medozas.de>2011-04-06 12:54:23 +0200
commitd78254d7f9d18ef76377a3013302430cce8ea702 (patch)
tree574827d62c95ade4b56e3a5cb2268b6983820705 /include/xtables.h.in
parent93112921153c43dc0521be499f6a792d2aaae5e9 (diff)
libxtables: min-max option support
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/xtables.h.in')
-rw-r--r--include/xtables.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xtables.h.in b/include/xtables.h.in
index 91a6eaaa..14d7b043 100644
--- a/include/xtables.h.in
+++ b/include/xtables.h.in
@@ -76,6 +76,8 @@ enum xt_option_flags {
* @flags: bitmask of option flags, see %XTOPT_*
* @ptroff: offset into private structure for member
* @size: size of the item pointed to by @ptroff; this is a safeguard
+ * @min: lowest allowed value (for singular integral types)
+ * @max: highest allowed value (for singular integral types)
*/
struct xt_option_entry {
const char *name;
@@ -83,6 +85,7 @@ struct xt_option_entry {
unsigned int id, excl, also, flags;
unsigned int ptroff;
size_t size;
+ unsigned int min, max;
};
/**