From f4b6e5290e869fccb87c03da5603a38b7e55abc5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 7 Feb 2011 03:16:14 +0100 Subject: src: put shared option flags into xshared This will be needed for the find_proto function. Signed-off-by: Jan Engelhardt --- xshared.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'xshared.h') diff --git a/xshared.h b/xshared.h index 11d95fe5..06d73ab9 100644 --- a/xshared.h +++ b/xshared.h @@ -5,6 +5,21 @@ #include #include +enum { + OPT_NONE = 0, + OPT_NUMERIC = 1 << 0, + OPT_SOURCE = 1 << 1, + OPT_DESTINATION = 1 << 2, + OPT_PROTOCOL = 1 << 3, + OPT_JUMP = 1 << 4, + OPT_VERBOSE = 1 << 5, + OPT_EXPANDED = 1 << 6, + OPT_VIANAMEIN = 1 << 7, + OPT_VIANAMEOUT = 1 << 8, + OPT_LINENUMBERS = 1 << 9, + OPT_COUNTERS = 1 << 10, +}; + struct xtables_rule_match; struct xtables_target; -- cgit v1.2.3