diff options
author | Rusty Russell <rusty@linuxcare.com.au> | 2000-04-19 11:26:44 +0000 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2000-04-19 11:26:44 +0000 |
commit | edf14cf4b5edb148d7473f067d95e7bd1316900b (patch) | |
tree | 5c6df990222b87d25481330240b940f2ab362d49 /include/libiptc | |
parent | 01059cb18bc4837ed45b668e1c6598a0a1c8c6af (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libiptc/libiptc.h b/include/libiptc/libiptc.h index 4a964e03..0a491071 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'. */ |