diff options
author | Joszef Kadlecsik <kadlec@blackhole.kfki.hu> | 2006-03-03 09:36:50 +0000 |
---|---|---|
committer | Joszef Kadlecsik <kadlec@blackhole.kfki.hu> | 2006-03-03 09:36:50 +0000 |
commit | a258ad7002ae4b4f366800f512db938fb78d0661 (patch) | |
tree | a219981be0b1354e72a323b25cc044a692234d2c /include/iptables.h | |
parent | cbe1ec7f1592be8ff2d71fd93374593dceabf3c0 (diff) |
Multiple matches of the same type can be specified on the commandline.
If two or more matches of the same type are detected then the options
are assumed to be grouped in order to tell which option belongs
to which match:
... -m foo ... <options0> ... -m foo ... <options1> ...
Otherwise the commandline parsing is unmodified.
Diffstat (limited to 'include/iptables.h')
-rw-r--r-- | include/iptables.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/iptables.h b/include/iptables.h index bf71e526..c56a0057 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -29,6 +29,10 @@ struct iptables_rule_match struct iptables_rule_match *next; struct iptables_match *match; + + /* Multiple matches of the same type: the ones before + the current one are completed from parsing point of view */ + unsigned int completed; }; /* Include file for additions: new matches and targets. */ |