diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-02-07 03:16:14 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-02-07 03:16:14 +0100 |
commit | f4b6e5290e869fccb87c03da5603a38b7e55abc5 (patch) | |
tree | c911d32f4561935d2e90b3aff12439c2913b97dc /xshared.h | |
parent | f1e71016dddb65709afe0746a96a3fefbec3ba27 (diff) |
src: put shared option flags into xshared
This will be needed for the find_proto function.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'xshared.h')
-rw-r--r-- | xshared.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -5,6 +5,21 @@ #include <linux/netfilter_ipv4/ip_tables.h> #include <linux/netfilter_ipv6/ip6_tables.h> +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; |