From fcbb2f45e58e4f2f22c2175c13fcc6025835a8f6 Mon Sep 17 00:00:00 2001 From: rusty Date: Wed, 19 Apr 2000 11:26:44 +0000 Subject: Changes to allow matching (for delete) on part of a rule, for rules which change in the kernel (eg. ipt_limit). --- include/libiptc/libiptc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libiptc/libiptc.h') 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'. */ -- cgit v1.2.3