summaryrefslogtreecommitdiffstats
path: root/include/libiptc
diff options
context:
space:
mode:
authorrusty <rusty>2000-04-19 11:26:44 +0000
committerrusty <rusty>2000-04-19 11:26:44 +0000
commitfcbb2f45e58e4f2f22c2175c13fcc6025835a8f6 (patch)
tree5c6df990222b87d25481330240b940f2ab362d49 /include/libiptc
parent3a4a8459e9b9b95ff44727a107a900a4bf21fd87 (diff)
Changes to allow matching (for delete) on part of a rule, for rules which
change in the kernel (eg. ipt_limit).
Diffstat (limited to 'include/libiptc')
-rw-r--r--include/libiptc/libiptc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h
index 4a964e0..0a49107 100644
--- a/include/libiptc/libiptc.h
+++ b/include/libiptc/libiptc.h
@@ -73,9 +73,11 @@ int iptc_append_entry(const ipt_chainlabel chain,
const struct ipt_entry *e,
iptc_handle_t *handle);
-/* Delete the first rule in `chain' which matches `e'. */
+/* Delete the first rule in `chain' which matches `e', subject to
+ matchmask (array of length == origfw) */
int iptc_delete_entry(const ipt_chainlabel chain,
const struct ipt_entry *origfw,
+ unsigned char *matchmask,
iptc_handle_t *handle);
/* Delete the rule in position `rulenum' in `chain'. */