From d78254d7f9d18ef76377a3013302430cce8ea702 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 27 Feb 2011 17:38:34 +0100 Subject: libxtables: min-max option support Signed-off-by: Jan Engelhardt --- include/xtables.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/xtables.h.in') 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; }; /** -- cgit v1.2.3